StackPageView constructor

StackPageView({
  1. required Widget header,
  2. required double headerHeight,
  3. required TabBar tabBar,
  4. required TabController tabController,
  5. required List<ScrollController> scrollControllers,
  6. required List<Widget> tabBarViews,
  7. int timerPeriodic = 2,
  8. int dragY = 16,
  9. Duration animationDuration = const Duration(milliseconds: 100),
  10. dynamic interface(
    1. StackPageViewInterface? interface
    )?,
  11. dynamic controller(
    1. ScrollController controller
    )?,
  12. bool tabDrag = true,
  13. Color? tabBarBackgroundColor = Colors.white,
  14. double tabBarHeight = 50,
  15. Widget? tabBarBackground,
  16. dynamic scrollUp(
    1. double offset
    )?,
  17. dynamic scrollDown(
    1. double offset
    )?,
  18. Key? key,
})

Implementation

StackPageView({
  required this.header,
  required this.headerHeight,
  required this.tabBar,
  required this.tabController,
  required this.scrollControllers,
  required this.tabBarViews,
  this.timerPeriodic = 2,
  this.dragY = 16,
  this.animationDuration = const Duration(milliseconds: 100),
  this.interface,
  this.controller,
  this.tabDrag = true,
  this.tabBarBackgroundColor = Colors.white,
  this.tabBarHeight = 50,
  this.tabBarBackground,
  this.scrollUp,
  this.scrollDown,
  Key? key,
}) : super(key: key);