DragEndDetails class
Details object for callbacks that use GestureDragEndCallback.
See also:
- DragGestureRecognizer.onEnd, which uses GestureDragEndCallback.
- DragDownDetails, the details for GestureDragDownCallback.
- DragStartDetails, the details for GestureDragStartCallback.
- DragUpdateDetails, the details for GestureDragUpdateCallback.
Constructors
- DragEndDetails({Velocity velocity: Velocity.zero, double primaryVelocity })
- Creates details for a GestureDragEndCallback. [...]
Properties
- primaryVelocity → double
-
The velocity the pointer was moving along the primary axis when it stopped
contacting the screen, in logical pixels per second. [...]
final
- velocity → Velocity
-
The velocity the pointer was moving when it stopped contacting the screen. [...]
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