StackPositionedTabBarScreen constructor
const
StackPositionedTabBarScreen({
- Key? key,
- required List<
Widget> pages, - required TabWidgetBuilder tabBarBuilder,
- int? initialIndex,
- void onTabChanged()?,
- TabBarCubit? tabBarCubit,
- Widget? drawer,
- List<
Widget> ? fabButtons, - FloatingActionButtonLocation? floatingActionButtonLocation,
- double? top,
- double? bottom = 0,
- double? left = 0,
- 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,
});