DragStartDetails class
Details object for callbacks that use GestureDragStartCallback.
See also:
- DragGestureRecognizer.onStart, which uses GestureDragStartCallback.
- DragDownDetails, the details for GestureDragDownCallback.
- DragUpdateDetails, the details for GestureDragUpdateCallback.
- DragEndDetails, the details for GestureDragEndCallback.
Constructors
- DragStartDetails({Duration sourceTimeStamp, Offset globalPosition: Offset.zero })
- Creates details for a GestureDragStartCallback. [...]
Properties
- globalPosition → Offset
-
The global position at which the pointer contacted the screen. [...]
final
- sourceTimeStamp → Duration
-
Recorded timestamp of the source pointer event that triggered the drag
event. [...]
final
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
Methods
-
toString(
) → String -
Returns a string representation of this object.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited