ScrollableListTabScroller constructor
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,
Implementation
ScrollableListTabScroller({
required this.itemCount,
required this.itemBuilder,
required this.tabBuilder,
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,
});