flutter_draggable_gridview library
Classes
- DraggableGridItem
- This class helps to manage widget and dragging enable/disable. child will show the widgets in Gridview.builder. isDraggable is boolean, you want to allow dragging then set it true or else false.
- DraggableGridViewBuilder
- DraggableGridViewBuilderState
- DragTargetGrid
- DragTargetGridState
- EmptyItem
- EmptyItem will use to show at drag target, when the widget is being dragged.
- LongPressDraggableGridView
- PlaceHolderWidget
- /// PlaceHolderWidget will use to show at drag target, when the widget is being dragged.
- PressDraggableGridView
Typedefs
-
DragChildWhenDragging
= Widget Function(List<
DraggableGridItem> list, int index) -
DragCompletion
= void Function(List<
DraggableGridItem> list, int beforeIndex, int afterIndex) -
DragFeedback
= Widget Function(List<
DraggableGridItem> list, int index) -
DragPlaceHolder
= PlaceHolderWidget Function(List<
DraggableGridItem> list, int index)