DragAndDropOptions class

Configures the behavior of drag-and-drop of events.

Constructors

DragAndDropOptions({required EventDragCallback onEventDragged, bool allowOnlyVerticalDrag = true, DragStartingGesture startingGesture = DragStartingGesture.tap})

Properties

allowOnlyVerticalDrag bool
If true, drag-and-drop will be restricted to the vertical axis. If there's no need to drag events horizontally, this is a smoother user experience.
final
hashCode int
The hash code for this object.
no setterinherited
onEventDragged EventDragCallback
Triggered when the user performs a drag-and-drop in an event.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startingGesture DragStartingGesture
Which gesture the user should perform to start dragging an event.
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