ScrollActivityDelegate class
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.
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
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.
-
setPixels(
double pixels) → double - Update the scroll position to the given pixel value. [...]
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited