GestureArenaManager class

The first member to accept or the last member to not reject wins.

See https://flutter.io/gestures/#gesture-disambiguation for more information about the role this class plays in the gesture system.

To debug problems with gestures, consider using debugPrintGestureArenaDiagnostics.

Constructors

GestureArenaManager()

Properties

hashCode → int
The hash code for this object. [...]
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

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. [...]
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. [...]
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

Operators

operator ==(dynamic other) → bool
The equality operator. [...]
inherited