ExpandableReorderableListItemModel constructor
ExpandableReorderableListItemModel({
- CollapseCallback? collapseCallback,
- bool isCollapsed = false,
Model of an ExpandableReorderableListItem.
It contains
- The index of the item in the list (not the tree).
- Whether or not the item is collapsed.
Implementation
ExpandableReorderableListItemModel({
this.collapseCallback,
bool isCollapsed = false,
}) : _isCollapsed = isCollapsed;