ScrollContext class
An interface that Scrollable widgets implement in order to use ScrollPosition.
See also:
- ScrollableState, which is the most common implementation of this interface.
- ScrollPosition, which uses this interface to communicate with the scrollable widget.
- Implementers
Constructors
Properties
- axisDirection → AxisDirection
-
The direction in which the widget scrolls.
read-only
- notificationContext → BuildContext
-
The BuildContext that should be used when dispatching
ScrollNotifications. [...]
read-only
- storageContext → BuildContext
-
The BuildContext that should be used when searching for a PageStorage. [...]
read-only
- vsync → TickerProvider
-
A TickerProvider to use when animating the scroll position.
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
-
setCanDrag(
bool value) → void - Whether the user can drag the widget, for example to initiate a scroll.
-
setIgnorePointer(
bool value) → void - Whether the contents of the widget should ignore PointerEvent inputs. [...]
-
setSemanticsActions(
Set< SemanticsAction> actions) → void - Set the SemanticsActions that should be expose to the semantics tree.
-
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