ScrollableListTabScroller constructor
const
ScrollableListTabScroller({ - dynamic key,
- required int itemCount,
- required dynamic itemBuilder,
- required IndexedActiveStatusWidgetBuilder tabBuilder,
- dynamic onRefresh,
- BodyContainerBuilder? bodyContainerBuilder,
- dynamic itemScrollController,
- dynamic itemPositionsListener,
- void tabChanged(
- int tabIndex
)?,
- double earlyChangePositionOffset = 0,
- Duration animationDuration = const Duration(milliseconds: 300),
- bool shrinkWrap = false,
- int initialScrollIndex = 0,
- double initialAlignment = 0,
- dynamic scrollDirection = Axis.vertical,
- bool reverse = false,
- dynamic physics,
- int? semanticChildCount,
- dynamic padding,
- bool addSemanticIndexes = true,
- bool addAutomaticKeepAlives = true,
- bool addRepaintBoundaries = true,
- double? minCacheExtent,
- dynamic scrollOffsetController,
- dynamic scrollOffsetListener,
- dynamic tabAlignment = TabAlignment.start,
})
Implementation
const ScrollableListTabScroller({
super.key,
required this.headerKey,
required this.itemCount,
required this.itemBuilder,
required this.tabBuilder,
this.onRefresh,
this.headerContainerBuilder,
@Deprecated('This code is unused and will be removed in the next release.')
Widget Function(BuildContext context, Widget child)? headerWidgetBuilder,
this.bodyContainerBuilder,
this.itemScrollController,
this.itemPositionsListener,
this.tabChanged,
this.earlyChangePositionOffset = 0,
this.animationDuration = const Duration(milliseconds: 300),
this.shrinkWrap = false,
this.initialScrollIndex = 0,
this.initialAlignment = 0,
this.scrollDirection = Axis.vertical,
this.reverse = false,
this.physics,
this.semanticChildCount,
this.padding,
this.addSemanticIndexes = true,
this.addAutomaticKeepAlives = true,
this.addRepaintBoundaries = true,
this.minCacheExtent,
this.scrollOffsetController,
this.scrollOffsetListener,
this.tabAlignment = TabAlignment.start,
});