The possible states of a PrimaryPointerGestureRecognizer.

The recognizer advances from ready to possible when starts tracking a primary pointer. When the primary pointer is resolve (either accepted or or rejected), the recognizers advances to defunct. Once the recognizer has stopped tracking any remaining pointers, the recognizer returns to ready.

Constants

defunct → GestureRecognizerState

Further pointer events cannot cause this recognizer to recognize the gesture until the recognizer returns to the ready state (typically when all the pointers the recognizer is tracking are removed from the screen).

const GestureRecognizerState(2)
possible → GestureRecognizerState

The sequence of pointer events seen thus far is consistent with the gesture the recognizer is attempting to recognize but the gesture has not been accepted definitively.

const GestureRecognizerState(1)
ready → GestureRecognizerState

The recognizer is ready to start recognizing a gesture.

const GestureRecognizerState(0)
values → List<GestureRecognizerState>

A constant List of the values in this enum, in order of their declaration.

const List<GestureRecognizerState>

Properties

index → int
read-only
hashCode → int

Get a hash code for this object.

read-only, inherited
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) → bool

The equality operator.

inherited

Methods

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() → String

Returns a string representation of this object.

inherited