cancelReorder method

void cancelReorder()

Cancel any item drag in progress.

This should be called before any major changes to the item grid occur so that any item drags will not get confused by changes to the underlying grid.

If no drag is active, this will do nothing.

Implementation

void cancelReorder() {
  _sliverReorderableGridKey.currentState!.cancelReorder();
}