Skip to content

OnReorderEvent

Inherits: Event['ReorderableListView']

Represents an event triggered during the reordering of items in a ReorderableListView.

Properties

  • new_index(int | None) –

    The new position of the item after reordering.

  • old_index(int | None) –

    The original/previous position of the item before reordering.

Properties#

new_index instance-attribute #

new_index: int | None

The new position of the item after reordering.

old_index instance-attribute #

old_index: int | None

The original/previous position of the item before reordering.