PositionedGestureDetails class abstract interface

An abstract interface representing gesture details that include positional information.

This class serve as a common interface for gesture details that involve positional data, such as dragging and tapping. It simplifies gesture handling by enabling the use of shared logic across multiple gesture types, users can create a method to handle a single gesture details with this position information. For example:

void handlePositionedGestures(PositionedGestureDetails details) {
  // Handle the positional information of the gesture details.
}
Implementers

Properties

globalPosition Offset
The global position at which the pointer interacts with 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 interacts with the screen.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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