ScrollActivityDelegate class abstract
A backend for a ScrollActivity.
Used by subclasses of ScrollActivity to manipulate the scroll view that they are acting upon.
See also:
- ScrollActivity, which uses this class as its delegate.
- ScrollPositionWithSingleContext, the main implementation of this interface.
- Implementers
Constructors
Properties
- axisDirection → AxisDirection
-
The direction in which the scroll view scrolls.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
applyUserOffset(
double delta) → void - Updates the scroll position by the given amount.
-
goBallistic(
double velocity) → void - Terminate the current activity and start a ballistic activity with the given velocity.
-
goIdle(
) → void - Terminate the current activity and start an idle activity.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setPixels(
double pixels) → double - Update the scroll position to the given pixel value.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited