GesturePhase class final

Where a camera change falls in a gesture that the user makes.

GesturePhase.begin and GesturePhase.update mark a gesture in progress, and GesturePhase.end and GesturePhase.cancel end it.

See mln_gesture_phase in the C API reference.

Constructors

GesturePhase.fromRawValue(int rawValue)
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
rawValue → int
The value's C representation, which may be one this binding predates.
finalinherited
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.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

begin → const GesturePhase
The gesture starts. This cancels every running camera animation before the change applies.
cancel → const GesturePhase
The platform cancelled the gesture. This also cancels every running camera animation after the change applies.
end → const GesturePhase
none → const GesturePhase
The change isn't part of a gesture.
update → const GesturePhase
The gesture continues. To start a gesture that keeps the running camera animations, start it with this phase instead of GesturePhase.begin.