ScrollObserver class
Helper class to detect scroll activity start/end points.
Used to defer code execution during scrolling such as hover on row.
- Implemented types
Constructors
- ScrollObserver(ScrollHost scrollHost)
- Uses the default duration for the idle callback.
- ScrollObserver.withDurationMs(ScrollHost _scrollHost, int _idleCheckDurationMs)
- Specifies a different duration for the idle callback.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollStatusCallback ↔ ScrollObserverIdleCallback?
-
Sets callback for scroll idle event.
getter/setter pair
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
Constants
- defaultIdleCheckDurationMs → const int