SyncScrollController class Null safety

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.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
scrollOffset double
The current scroll offset of the scrollable widgets.
read-only

Methods

add(ScrollController controller) → void
Add a scroll controller for synchronous control.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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