TabBarPage constructor
const
TabBarPage({
- Key? key,
- List<
PageTabItemModel> pages = const [], - Key? contentKey,
- required IndexedWidgetBuilder tabitemBuilder,
- required TabPageController controller,
- num paddingTop = 0.0,
- bool isSwipable = false,
- bool isStack = false,
- bool isStackStill = false,
- bool isTabVisible = true,
- bool isTabPositionCenter = true,
- double tabHeight = 50,
- double tabWidth = double.infinity,
- double tabPositionPaddingLeft = 0.0,
- double tabTopRoundedRadius = 0.0,
- bool distributeTabEvenly = false,
- bool canScroll = false,
- Color tabBackgroundColor = Colors.white,
- Color tabContentBackgroundColor = Colors.transparent,
- Alignment tabAlignment = Alignment.center,
Implementation
const TabBarPage(
{Key? key,
this.pages = const [],
this.contentKey,
required this.tabitemBuilder,
required this.controller,
this.paddingTop = 0.0,
this.isSwipable = false,
this.isStack = false,
this.isStackStill = false,
this.isTabVisible = true,
this.isTabPositionCenter = true,
this.tabHeight = 50,
this.tabWidth = double.infinity,
this.tabPositionPaddingLeft = 0.0,
this.tabTopRoundedRadius = 0.0,
this.distributeTabEvenly = false,
this.canScroll = false,
this.tabBackgroundColor = Colors.white,
this.tabContentBackgroundColor = Colors.transparent,
this.tabAlignment = Alignment.center})
: super(key: key);