ScrollableListTabScroller constructor

ScrollableListTabScroller({
  1. required int itemCount,
  2. required IndexedWidgetBuilder itemBuilder,
  3. required IndexedActiveStatusWidgetBuilder tabBuilder,
  4. HeaderContainerBuilder? headerContainerBuilder,
  5. @Deprecated("This code is unused and will be removed in the next release.") Widget headerWidgetBuilder(
    1. BuildContext context,
    2. Widget child
    )?,
  6. BodyContainerBuilder? bodyContainerBuilder,
  7. ItemScrollController? itemScrollController,
  8. ItemPositionsListener? itemPositionsListener,
  9. void tabChanged(
    1. int tabIndex
    )?,
  10. double earlyChangePositionOffset = 0,
  11. Duration animationDuration = const Duration(milliseconds: 300),
  12. bool shrinkWrap = false,
  13. int initialScrollIndex = 0,
  14. double initialAlignment = 0,
  15. Axis scrollDirection = Axis.vertical,
  16. bool reverse = false,
  17. ScrollPhysics? physics,
  18. int? semanticChildCount,
  19. EdgeInsets? padding,
  20. bool addSemanticIndexes = true,
  21. bool addAutomaticKeepAlives = true,
  22. bool addRepaintBoundaries = true,
  23. double? minCacheExtent,
  24. ScrollOffsetController? scrollOffsetController,
  25. 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,
});