The base class that all GestureRecognizers should inherit from.
Provides a basic API that can be used by classes that work with gesture recognizers but don't care about the specific details of the gestures recognizers themselves.
- Inheritance
- Object
- GestureArenaMember
- GestureRecognizer
- Implemented by
Constructors
Properties
- 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
-
addPointer(
PointerDownEvent event) → void -
Registers a new pointer that might be relevant to this gesture detector.
-
dispose(
) → void -
Releases any resources used by the object.
-
invokeCallback(
String name, RecognizerCallback callback) → dynamic -
Invoke a callback provided by the application and log any exceptions.
-
toStringShort(
) → String -
Returns a very short pretty description of the gesture that the recognizer looks for, like 'tap' or 'horizontal drag'.
-
acceptGesture(
int pointer) → void -
Called when this member wins the arena for the given pointer id.
inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited -
rejectGesture(
int pointer) → void -
Called when this member loses the arena for the given pointer id.
inherited -
toString(
) → String -
Returns a string representation of this object.
inherited