GestureArenaManager class

Manages gesture arenas for conflict resolution.

When multiple recognizers compete for the same pointer sequence, the arena resolves which one wins. The first recognizer to claim acceptance wins; all others are rejected.

Each arena is identified by an integer key (typically derived from a pointer ID or a monotonic counter).

Constructors

GestureArenaManager()

Properties

hasActiveArenas bool
Whether the manager has any active arenas.
no setter
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 arenaKey, GestureRecognizer recognizer) → void
Adds a recognizer to the arena identified by arenaKey.
close(int arenaKey) → void
Closes an arena. The first member in GestureRecognizerState.possible or GestureRecognizerState.accepted wins; all others are rejected.
createArena() int
Creates a new arena and returns its key.
dispose() → void
Disposes all arenas and their members.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(int arenaKey, GestureRecognizer member, GestureDisposition disposition) → void
A member resolves with a given disposition.
sweep(int arenaKey) → void
Alias for close.
toString() String
A string representation of this object.
inherited

Operators

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