draggable_list library

Classes

DraggableDelayedDragStartListener
A wrapper widget that will recognize the start of a drag operation by looking for a long press event. Once it is recognized, it will start a drag operation on the wrapped item in the Draggable list.
DraggableDragStartListener
A wrapper widget that will recognize the start of a drag on the wrapped widget by a PointerDownEvent, and immediately initiate dragging the wrapped item to a new location in a Draggable list.
DraggableList
A scrolling container that allows the user to interactively drag the list items.
DraggableListState
The state for a list that allows the user to interactively drag the list items.
SliverDraggableList
A sliver list that allows the user to interactively drag the list items.
SliverDraggableListState
The state for a sliver list that allows the user to interactively drag the list items.

Typedefs

DragCancelCallback = void Function()
DragEndCallback = void Function(int oldIndex, int newIndex, int newPos)
  • DraggableList, a widget list that allows the user to drag its items.
  • SliverDraggableList, a sliver list that allows the user to drag its items.
  • DraggableListView, a material design list that allows the user to drag its items.
  • DraggableItemProxyDecorator = Widget Function(Widget child, int index, Animation<double> animation)
    Signature for the builder callback used to decorate the dragging item in DraggableList and SliverDraggableList.
    DragingCallback = void Function(int oldIndex, int newIndex, int newPos, double start, double end)
    DragStartCallback = void Function(int index, double start, double end)