DragEndDetails class Null safety
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
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- primaryVelocity → double?
-
The velocity the pointer was moving along the primary axis when it stopped
contacting the screen, in logical pixels per second.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- velocity → Velocity
-
The velocity the pointer was moving when it stopped contacting the screen.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited