NestedInnerScrollCoordinator class
- Implemented types
Constructors
Properties
- axisDirection → AxisDirection
-
The direction in which the scroll view scrolls.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- innerController → NestedInnerScrollController
-
no setter
- innerScroll → bool
-
no setter
- outerController → NestedInnerScrollController
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- userScrollDirection → ScrollDirection
-
no setter
Methods
-
applyUserOffset(
double delta) → void -
Updates the scroll position by the given amount.
override
-
attachInnerScrollPosition(
_NestedScrollPosition position) → void -
beginActivity(
ScrollActivity newOuterActivity, _NestedScrollActivityGetter innerActivityGetter) → void -
cancel(
) → void -
Release the Scrollable, potentially letting it go ballistic if
necessary.
override
-
createInnerBallisticScrollActivity(
_NestedScrollPosition position, double velocity) → ScrollActivity -
createOuterBallisticScrollActivity(
double velocity) → ScrollActivity -
detachInnerScrollPosition(
_NestedScrollPosition position) → void -
dispose(
) → void -
drag(
DragStartDetails details, VoidCallback dragCancelCallback) → Drag -
getInnerPosition(
Key key) → ScrollPosition? -
goBallistic(
double velocity) → void -
Terminate the current activity and start a ballistic activity with the
given velocity.
override
-
goIdle(
) → void -
Terminate the current activity and start an idle activity.
override
-
hold(
VoidCallback holdCancelCallback) → ScrollHoldController -
nestOffset(
double value, _NestedScrollPosition target) → double -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setParent(
ScrollController value) → void -
setPixels(
double newPixels) → double -
Update the scroll position to the given pixel value.
override
-
toString(
) → String -
A string representation of this object.
override
-
unnestOffset(
double value, _NestedScrollPosition source) → double -
updateCanDrag(
_NestedScrollPosition position) → void -
updateParent(
) → void -
updateUserScrollDirection(
ScrollDirection value) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited