GestureArenaMember class

Represents an object participating in an arena.

Receives callbacks from the GestureArena to notify the object when it wins or loses a gesture negotiation. Exactly one of acceptGesture or rejectGesture will be called for each arena this member was added to, regardless of what caused the arena to be resolved. For example, if a member resolves the arena itself, that member still receives an acceptGesture callback.

Implemented by

Constructors

GestureArenaMember()

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

acceptGesture(int pointer) → void
Called when this member wins the arena for the given pointer id.
rejectGesture(int pointer) → void
Called when this member loses the arena for the given pointer id.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
@pragma('vm:entry-point'), inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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