GestureListener class
Listens to touch events on an element and exposes a scrollStream of ScrollHostEvent events fired as the user moves their finger.
- Implemented types
Constructors
- GestureListener(Element? _element, DirectionCheck _isDirectionScrollable, Clock _clock, {Duration scrollInterval = _defaultScrollInterval})
-
Events are added to scrollStream at
scrollInterval
intervals.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isGestureInProgress → bool
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
scrollStream
→ Stream<
GestureEvent> -
no setter
Methods
-
dispose(
) → void -
Disposes this disposable and any resources it has open.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited