StackPositionedTabBarScreen constructor

const StackPositionedTabBarScreen({
  1. Key? key,
  2. required List<Widget> pages,
  3. required TabWidgetBuilder tabBarBuilder,
  4. int? initialIndex,
  5. void onTabChanged(
    1. int
    )?,
  6. TabBarCubit? tabBarCubit,
  7. Widget? drawer,
  8. Widget? bottomNavigation,
  9. List<Widget>? fabButtons,
  10. FloatingActionButtonLocation? floatingActionButtonLocation,
  11. double? top,
  12. double? bottom = 0,
  13. double? left = 0,
  14. double? right = 0,
})

Implementation

const StackPositionedTabBarScreen({
  super.key,
  required this.pages,
  required this.tabBarBuilder,
  this.initialIndex,
  this.onTabChanged,
  this.tabBarCubit,
  this.drawer,
  this.bottomNavigation,
  this.fabButtons,
  this.floatingActionButtonLocation,
  this.top,
  this.bottom = 0, // default bottom placement
  this.left = 0,
  this.right = 0,
});