TableRowModel constructor

TableRowModel(
  1. WidgetModel parent,
  2. String? id, {
  3. dynamic data,
  4. dynamic width,
  5. dynamic height,
  6. dynamic oncomplete,
  7. dynamic halign,
  8. dynamic valign,
  9. dynamic center,
  10. dynamic altcolor,
  11. dynamic wrap,
  12. dynamic color,
  13. dynamic onclick,
})

Implementation

TableRowModel(
  WidgetModel parent,
  String? id, {
  dynamic data,
  dynamic width,
  dynamic height,
  dynamic oncomplete,
  dynamic halign,
  dynamic valign,
  dynamic center,
  dynamic altcolor,
  dynamic wrap,
  dynamic color,
  dynamic onclick,
}) : super(parent, id, scope: Scope(parent: parent.scope))
{
  if (width  != null) this.width  = width;
  if (height != null) this.height = height;

  this.data = data;
  this.altcolor = altcolor;
  this.oncomplete = oncomplete;
  dirty = false;
  this.color = color;
  this.halign = halign;
  this.center = center;
  this.valign = valign;
  this.wrap = wrap;
  this.onclick = onclick;
}