onReorderEnd property Null safety
final
A callback that is called when the dragged item is dropped.
The index parameter of the callback is the index where the item is dropped. Unlike onReorder, this is called even when the list item is dropped in the same location.
See also:
- onReorderStart, which is a called when an item drag has started.
- onReorder, which reports that a list item has been dragged to a new location.
Implementation
final void Function(int index)? onReorderEnd;