ListItemModel constructor
ListItemModel(
- WidgetModel parent,
- String? id, {
- dynamic data,
- dynamic selected,
- dynamic onclick,
- String? type,
- dynamic title,
- dynamic backgroundcolor,
- 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;
}