StackPageView constructor
StackPageView({
- required Widget header,
- required double headerHeight,
- required TabBar tabBar,
- required TabController tabController,
- required List<
ScrollController> scrollControllers, - required List<
Widget> tabBarViews, - int timerPeriodic = 2,
- int dragY = 16,
- Duration animationDuration = const Duration(milliseconds: 100),
- dynamic interface(
- StackPageViewInterface? interface
- dynamic controller(
- ScrollController controller
- bool tabDrag = true,
- Color? tabBarBackgroundColor = Colors.white,
- double tabBarHeight = 50,
- Widget? tabBarBackground,
- dynamic scrollUp(
- double offset
- dynamic scrollDown(
- double offset
- 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);