TabScrollManager class

Manages scrolling behavior for tab widgets.

Constructors

TabScrollManager({required ScrollController scrollController, required Axis axis, required Map<dynamic, GlobalKey<State<StatefulWidget>>> tabKeys})

Properties

axis Axis
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollController ScrollController
final
tabKeys Map<dynamic, GlobalKey<State<StatefulWidget>>>
final

Methods

canScrollEnd() bool
Checks if scrolling to end is possible.
canScrollStart() bool
Checks if scrolling to start is possible.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
scrollToEnd() → void
Scrolls forward by one viewport.
scrollToStart() → void
Scrolls backward by one viewport.
scrollToTab(dynamic selectedValue) → void
Scrolls to the tab with the given value.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited