ListItemModel constructor

ListItemModel(
  1. WidgetModel parent,
  2. String? id, {
  3. dynamic data,
  4. dynamic selected,
  5. dynamic onclick,
  6. String? type,
  7. dynamic title,
  8. dynamic backgroundcolor,
  9. dynamic margin,
})

Implementation

ListItemModel(WidgetModel parent, String?  id, {dynamic data, dynamic selected, dynamic onclick, this.type, dynamic title, dynamic backgroundcolor, dynamic margin}) : super(parent, id, scope: Scope(parent: parent.scope))
{
  this.data             = data;
  this.backgroundcolor  = backgroundcolor;
  dirty                 = false;
  this.margin           = margin;
  title                 = title;
  this.selected         = selected;
  this.onclick          = onclick;
}