ScrollActivityDelegate class Null safety
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-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
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 non-existent 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