NmMultiTouchDetails class

Details about a multi-touch gesture.

Constructors

NmMultiTouchDetails({required int pointerCount, required List<Offset> positions, required Offset centroid, required NmMultiTouchPhase phase, Offset? panDelta, double? scale, double? rotation})
Creates a NmMultiTouchDetails.
const

Properties

centroid → Offset
Center point of all pointers.
final
hashCode → int
The hash code for this object.
no setterinherited
panDelta → Offset?
Pan delta since last update (for 2+ finger pan).
final
phase → NmMultiTouchPhase
Current phase of the gesture.
final
pointerCount → int
Number of active pointers.
final
positions → List<Offset>
Positions of all active pointers.
final
rotation → double?
Rotation in radians relative to initial angle.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scale → double?
Scale factor relative to initial spread (for pinch).
final

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