SyncScrollController class
Controls a synchronous scrollable widgets through their scroll controllers.
Can be used implicitly by wrapping multiple scrollable widgets in the DefaultSyncScrollController.
Constructors
-
SyncScrollController([List<
ScrollController> ? controllers])
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollOffset → double
-
The current scroll offset of the scrollable widgets.
no setter
Methods
-
add(
ScrollController controller) → void - Add a scroll controller for synchronous control.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
processNotification(
ScrollNotification notification, ScrollController sender) → void -
processOverscrollNotification(
OverscrollNotification notification, ScrollController sender) → void -
registerScrollController(
ScrollController controller) → void -
remove(
ScrollController controller) → void - Remove the scroll controller from synchronous control.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited