SheetDragUpdateDetails class

Details about the update of a sheet drag gesture.

This class contains information about the current state of a sheet drag gesture, such as the position and velocity of the drag.

Inheritance

Constructors

SheetDragUpdateDetails({required VerticalDirection axisDirection, required double localPositionX, required double localPositionY, required double globalPositionX, required double globalPositionY, required double deltaX, required double deltaY, Duration? sourceTimeStamp})
Creates details for the update of a sheet drag.

Properties

axisDirection VerticalDirection
The direction in which the drag is occurring.
finalinherited
delta Offset
The amount the pointer has moved in the coordinate space of the event receiver since the previous update.
no setter
deltaX double
The horizontal distance the pointer has moved since the last update.
final
deltaY double
The vertical distance the pointer has moved since the last update.
final
globalPosition Offset
The global position at which the pointer contacted the screen.
no setter
globalPositionX double
The global x position at which the pointer contacted the screen.
final
globalPositionY double
The global y position at which the pointer contacted the screen.
final
hashCode int
The hash code for this object.
no setterinherited
localPosition Offset
The local position in the coordinate system of the event receiver at which the pointer contacted the screen.
no setter
localPositionX double
The local x position in the coordinate system of the event receiver at which the pointer contacted the screen.
final
localPositionY double
The local y position in the coordinate system of the event receiver at which the pointer contacted the screen.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sourceTimeStamp Duration?
Recorded timestamp of the source pointer event that triggered the drag events.
final

Methods

copyWith({VerticalDirection? axisDirection, Duration? sourceTimeStamp, double? localPositionX, double? localPositionY, double? globalPositionX, double? globalPositionY, double? deltaX, double? deltaY}) SheetDragUpdateDetails
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