SheetDragEndDetails class

Details for when a sheet drag ends.

Contains information about the drag end, such as the velocity at which the drag ended.

Inheritance

Constructors

SheetDragEndDetails({required VerticalDirection axisDirection, required double velocityX, required double velocityY})
Creates details for the end of a sheet drag.

Properties

axisDirection VerticalDirection
The direction in which the drag is occurring.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
velocity Velocity
The velocity the pointer was moving when it stopped contacting the screen.
no setter
velocityX double
The horizontal velocity at which the pointer was moving when the drag ended in logical pixels per second.
final
velocityY double
The vertical velocity at which the pointer was moving when the drag ended in logical pixels per second.
final

Methods

copyWith({VerticalDirection? axisDirection, double? velocityX, double? velocityY}) SheetDragEndDetails
Creates a copy of this object but with the given fields replaced with the new values.
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