ExpandableReorderableListRootItem<K extends Key> class
The root item of the item tree.
- Inheritance
-
- Object
- ExpandableReorderableListTreeItem<
K> - ExpandableReorderableListRootItem
Constructors
-
ExpandableReorderableListRootItem({List<
ExpandableReorderableListItem< ? children})K> > - The root item of the item tree.
Properties
-
children
→ List<
ExpandableReorderableListItem< K> > -
Children of the item.
finalinherited
- hasChildren → bool
-
Whether the item has children or not.
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- itemCount → int
-
Number of items in the all subtree.
no setterinherited
- key → K
-
A unique Key used in in the ReorderableListView.
no setteroverride
- level → int
-
The level of the item in the reorderable list.
no setteroverride
-
parent
→ ExpandableReorderableListTreeItem<
K> ? -
A root cannot have a parent.
no setteroverride
-
parents
→ List<
ExpandableReorderableListItem< K> > -
The parents in the item tree.
no setterinherited
-
positions
→ List<
int> -
Get the position of the item in its parents.
no setterinherited
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited
Methods
-
itemFromIndex(
{required int index, required ExpandableReorderableListItemModelController< K> modelsController}) → ExpandableReorderableListItem<K> ? - Get the item in the tree from its visible index.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
visibleItemCount(
ExpandableReorderableListItemModelController< K> modelsController) → int - The total number of visible items.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited