OnReorderEvent
Payload for ReorderableListView events related to item reordering.
Inherits: Event
Properties
Properties
new_indexclass-attributeinstance-attribute
new_index: Optional[int] = NoneThe new position of the item after the reordering, if available.
Will be non-None only for the following events:
on_reorder,
on_reorder_end.
old_indexclass-attributeinstance-attribute
old_index: Optional[int] = NoneThe previous position of the item before the reordering, if available.
Will be non-None only for the following events:
on_reorder,
on_reorder_start.