Gesture class Null safety
A gesture to be used in CustomGestureDetector.
This class needs to be extended to implement the necessary gesture.
- Implementers
Constructors
- Gesture()
Properties
- complete → bool
-
Whether this gesture has been complete.
read-only
- failed → bool
-
Whether this gesture failed.
read-only
- 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
- triggered → bool
-
Whether this gesture has been triggered.
read-only
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
reset(
) → void - Resets the gesture for reuse.
-
toString(
) → String -
A string representation of this object. [...]
inherited
-
update(
Offset delta) → void - Updates the gesture when gesture detection is happening.
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited