DraggableGridItem class
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.
Constructors
- DraggableGridItem({required Widget child, bool isDraggable = false, dynamic dragCallback(BuildContext context, bool isDragging)?})
Properties
- child → Widget
-
final
- dragCallback → dynamic Function(BuildContext context, bool isDragging)?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDraggable → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited