DragAndDropBuilderParameters class
Constructors
- DragAndDropBuilderParameters({OnPointerMove? onPointerMove, OnPointerUp? onPointerUp, OnPointerDown? onPointerDown, OnItemReordered? onItemReordered, OnItemDropOnLastTarget? onItemDropOnLastTarget, OnListReordered? onListReordered, double? listDraggingWidth, ListOnWillAccept? listOnWillAccept, ListTargetOnWillAccept? listTargetOnWillAccept, OnListDraggingChanged? onListDraggingChanged, ItemOnWillAccept? itemOnWillAccept, ItemTargetOnWillAccept? itemTargetOnWillAccept, OnItemDraggingChanged? onItemDraggingChanged, bool dragOnLongPress = true, Axis axis = Axis.vertical, CrossAxisAlignment verticalAlignment = CrossAxisAlignment.start, int itemSizeAnimationDuration = 150, double itemGhostOpacity = 0.3, Widget? itemGhost, Widget? itemDivider, double? itemDraggingWidth, Decoration? itemDecorationWhileDragging, int listSizeAnimationDuration = 150, double listGhostOpacity = 0.3, Widget? listGhost, EdgeInsets? listPadding, Decoration? listDecoration, Decoration? listDecorationWhileDragging, Decoration? listInnerDecoration, double listWidth = double.infinity, double lastItemTargetHeight = 20, bool addLastItemTargetHeightToTop = false, DragHandle? listDragHandle, DragHandle? itemDragHandle, bool constrainDraggingAxis = true, bool disableScrolling = false})
Properties
- addLastItemTargetHeightToTop → bool
-
final
- axis → Axis
-
final
- constrainDraggingAxis → bool
-
final
- disableScrolling → bool
-
final
- dragOnLongPress → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- itemDecorationWhileDragging → Decoration?
-
final
- itemDivider → Widget?
-
final
- itemDraggingWidth → double?
-
final
- itemDragHandle → DragHandle?
-
final
- itemGhost → Widget?
-
final
- itemGhostOpacity → double
-
final
- itemOnWillAccept → ItemOnWillAccept?
-
final
- itemSizeAnimationDuration → int
-
final
- itemTargetOnWillAccept → ItemTargetOnWillAccept?
-
final
- lastItemTargetHeight → double
-
final
- listDecoration → Decoration?
-
final
- listDecorationWhileDragging → Decoration?
-
final
- listDraggingWidth → double?
-
final
- listDragHandle → DragHandle?
-
final
- listGhost → Widget?
-
final
- listGhostOpacity → double
-
final
- listInnerDecoration → Decoration?
-
final
- listOnWillAccept → ListOnWillAccept?
-
final
- listPadding → EdgeInsets?
-
final
- listSizeAnimationDuration → int
-
final
- listTargetOnWillAccept → ListTargetOnWillAccept?
-
final
- listWidth → double
-
final
- onItemDraggingChanged → OnItemDraggingChanged?
-
final
- onItemDropOnLastTarget → OnItemDropOnLastTarget?
-
final
- onItemReordered → OnItemReordered?
-
final
- onListDraggingChanged → OnListDraggingChanged?
-
final
- onListReordered → OnListReordered?
-
final
- onPointerDown → OnPointerDown?
-
final
- onPointerMove → OnPointerMove?
-
final
- onPointerUp → OnPointerUp?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- verticalAlignment → CrossAxisAlignment
-
final
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