GestureEvent class

Constructors

GestureEvent({required int pointer, required Vector2 screenPosition, required Vector2 worldPosition, required PointerDeviceKind kind})
GestureEvent.fromPointerEvent(PointerEvent event, {required Vector2 screenToWorld(Vector2 position), required Vector2 globalToViewportPosition(Vector2 position)})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
kind PointerDeviceKind
final
pointer int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
screenPosition Vector2
final
worldPosition Vector2
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