ScrollableListTabScroller constructor

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