OnReorderParam<K extends Key> class
The returned type of OnReorderMixin.onReorder.
Constructors
-
OnReorderParam({required ExpandableReorderableListItem<
K> item, required int oldIndex, required int newIndex, ExpandableReorderableListItem<K> ? newPreviousItem, ExpandableReorderableListItem<K> ? newNextItem}) - The returned type of OnReorderMixin.onReorder.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
item
→ ExpandableReorderableListItem<
K> -
The moved item.
final
- newIndex → int
-
The new item index.
final
-
newNextItem
→ ExpandableReorderableListItem<
K> ? -
After the drop, the item just after the item in the list.
final
-
newPreviousItem
→ ExpandableReorderableListItem<
K> ? -
After the drop, the item just before the item in the list.
final
- oldIndex → int
-
The old item index.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited