DragEndDetails class Null safety

Details object for callbacks that use GestureDragEndCallback.

See also:

Constructors

DragEndDetails({Velocity velocity = Velocity.zero, double? primaryVelocity})
Creates details for a GestureDragEndCallback.

Properties

hashCode int
The hash code for this object.
read-only, inherited
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-only, inherited
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