ExpandableReorderableListItem<K extends Key> class
Item of the AnimatedReorderableListView
.
- Inheritance
-
- Object
- ExpandableReorderableListTreeItem<
K> - ExpandableReorderableListItem
Constructors
-
ExpandableReorderableListItem({required K key, ExpandableReorderableListItemBuilder? builder, Widget? child, List<
ExpandableReorderableListItem< ? children})K> > -
Item of the
AnimatedReorderableListView
.
Properties
- builder → ExpandableReorderableListItemBuilder
-
Builder callback to build the item.
final
- child → Widget?
-
A Widget that doesn't need to be rebuilt.
final
-
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.
final
- level → int
-
The level of the item in the reorderable list.
no setterinherited
-
parent
→ ExpandableReorderableListTreeItem<
K> ? -
The parent of the item if it has one.
no setterinherited
-
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited