GestureArenaManager class
Used for disambiguating the meaning of sequences of pointer events.
The first member to accept or the last member to not reject wins.
See flutter.dev/to/gesture-disambiguation for more information about the role this class plays in the gesture system.
To debug problems with gestures, consider using debugPrintGestureArenaDiagnostics.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
add(
int pointer, GestureArenaMember member) → GestureArenaEntry - Adds a new member (e.g., gesture recognizer) to the arena.
-
close(
int pointer) → void - Prevents new members from entering the arena.
-
hold(
int pointer) → void - Prevents the arena from being swept.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
release(
int pointer) → void - Releases a hold, allowing the arena to be swept.
-
sweep(
int pointer) → void - Forces resolution of the arena, giving the win to the first member.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited