ScrollableListTabScroller class

Inheritance

Constructors

ScrollableListTabScroller({required int itemCount, required IndexedWidgetBuilder itemBuilder, required IndexedActiveStatusWidgetBuilder tabBuilder, HeaderContainerBuilder? headerContainerBuilder, @Deprecated("This code is unused and will be removed in the next release.") Widget headerWidgetBuilder(BuildContext context, Widget child)?, BodyContainerBuilder? bodyContainerBuilder, ItemScrollController? itemScrollController, ItemPositionsListener? itemPositionsListener, void tabChanged(int tabIndex)?, double earlyChangePositionOffset = 0, Duration animationDuration = const Duration(milliseconds: 300), bool shrinkWrap = false, int initialScrollIndex = 0, double initialAlignment = 0, Axis scrollDirection = Axis.vertical, bool reverse = false, ScrollPhysics? physics, int? semanticChildCount, EdgeInsets? padding, bool addSemanticIndexes = true, bool addAutomaticKeepAlives = true, bool addRepaintBoundaries = true, double? minCacheExtent, ScrollOffsetController? scrollOffsetController, ScrollOffsetListener? scrollOffsetListener})

Properties

addAutomaticKeepAlives bool
Whether to wrap each child in an AutomaticKeepAlive.
final
addRepaintBoundaries bool
Whether to wrap each child in a RepaintBoundary.
final
addSemanticIndexes bool
Whether to wrap each child in an IndexedSemantics.
final
animationDuration Duration
final
bodyContainerBuilder BodyContainerBuilder?
final
earlyChangePositionOffset double
final
hashCode int
The hash code for this object.
no setterinherited
headerContainerBuilder HeaderContainerBuilder?
final
initialAlignment double
Determines where the leading edge of the item at initialScrollIndex should be placed.
final
initialScrollIndex int
Index of an item to initially align within the viewport.
final
itemBuilder IndexedWidgetBuilder
final
itemCount int
final
itemPositionsListener → ItemPositionsListener?
final
itemScrollController → ItemScrollController?
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
minCacheExtent double?
The minimum cache extent used by the underlying scroll lists. See ScrollView.cacheExtent.
final
padding EdgeInsets?
The amount of space by which to inset the children.
final
physics ScrollPhysics?
How the scroll view should respond to user input.
final
reverse bool
Whether the view scrolls in the reading direction.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scrollDirection Axis
The axis along which the scroll view scrolls.
final
scrollOffsetController → ScrollOffsetController?
final
scrollOffsetListener → ScrollOffsetListener?
final
semanticChildCount int?
The number of children that will contribute semantic information.
final
shrinkWrap bool
{@template flutter.widgets.scroll_view.shrinkWrap} Whether the extent of the scroll view in the scrollDirection should be determined by the contents being viewed.
final
tabBuilder IndexedActiveStatusWidgetBuilder
final
tabChanged → (void Function(int tabIndex)?)
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() ScrollableListTabScrollerState
Creates the mutable state for this widget at a given location in the tree.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toDiagnosticsNode({String? name, DiagnosticsTreeStyle? style}) DiagnosticsNode
Returns a debug representation of the object that is used by debugging tools and by DiagnosticsNode.toStringDeep.
inherited
toString({DiagnosticLevel minLevel = DiagnosticLevel.info}) String
A string representation of this object.
inherited
toStringDeep({String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a string representation of this node and its descendants.
inherited
toStringShallow({String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) String
Returns a one-line detailed description of the object.
inherited
toStringShort() String
A short, textual description of this widget.
inherited

Operators

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