my_draggable library

Classes

DragAvatar<T>
LongPressMyDraggable<T>
Makes its child MyDraggable starting from long press.
MyDraggable<T>
A widget that can be dragged from to a MyDragTarget. [...]
MyDraggableState<T>
MyDragTarget<T>
A widget that receives data when a MyDraggable widget is dropped. [...]

Enums

DragAnchor
Where the MyDraggable should be anchored during a drag.

Typedefs

MyDraggableCanceledCallback(Velocity velocity, Offset offset) → void
Signature for when a MyDraggable is dropped without being accepted by a MyDragTarget. [...]
MyDragTargetAccept(int index) → void
Signature for causing a MyDragTarget to accept the given data. [...]
MyDragTargetBuilder<T>(BuildContext context, List<T> candidateData, List rejectedData) Widget
Signature for building children of a MyDragTarget. [...]
MyDragTargetLeave<T>(T data) → void
Signature for when a MyDraggable leaves a MyDragTarget. [...]
MyDragTargetWillAccept<T>(T data) → bool
Signature for determining whether the given data will be accepted by a MyDragTarget. [...]