ForcePressDetails class Null safety
Details object for callbacks that use GestureForcePressStartCallback, GestureForcePressPeakCallback, GestureForcePressEndCallback or GestureForcePressUpdateCallback.
See also:
Constructors
- ForcePressDetails({required Offset globalPosition, Offset? localPosition, required double pressure})
- Creates details for a GestureForcePressStartCallback, GestureForcePressPeakCallback or GestureForcePressEndCallback.
Properties
- globalPosition → Offset
-
The global position at which the function was called.
final
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- localPosition → Offset
-
The local position at which the function was called.
final
- pressure → double
-
The pressure of the pointer on the screen.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited