SheetDragStartDetails class

Details for the start of a sheet drag.

Contains information about the starting position and velocity of the drag.

Inheritance

Constructors

SheetDragStartDetails({required VerticalDirection axisDirection, required double localPositionX, required double localPositionY, required double globalPositionX, required double globalPositionY, Duration? sourceTimeStamp, PointerDeviceKind? kind})
Creates details for the start of a sheet drag.

Properties

axisDirection VerticalDirection
The direction in which the drag is occurring.
finalinherited
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
kind PointerDeviceKind?
The kind of the device that initiated the event.
final
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, double? localPositionX, double? localPositionY, double? globalPositionX, double? globalPositionY, Duration? sourceTimeStamp, PointerDeviceKind? kind}) SheetDragStartDetails
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