TbBottomNavigationWidget constructor
TbBottomNavigationWidget({
- Key? key,
- Widget builderPage()?,
- ScrollPhysics? physics,
- bool animateToPage = true,
- List<
Widget> ? pages, - List<
String> ? titles, - double? selectIconSize,
- double? unSelectIconSize,
- Map<
String, String> ? iconPath, - Duration? pageDuration,
- EdgeInsetsGeometry? margin,
- EdgeInsetsGeometry? padding,
- Decoration? decoration,
- bool wantKeepAlive = true,
- bool showSelectedLabels = true,
- dynamic pageSelect()?,
- bool showUnselectedLabels = true,
- TextStyle? selectedLabelStyle,
- TextStyle? unselectedLabelStyle,
Implementation
TbBottomNavigationWidget(
{Key? key,
this.builderPage,
this.physics,
this.animateToPage = true,
this.bottomNavigationBarBgColor,
this.pages,
this.titles,
this.selectIconSize,
this.unSelectIconSize,
this.bottomNavigationBarTheme,
this.iconPath,
this.bottomNavigationBarHeight,
this.pageDuration,
this.margin,
this.padding,
this.decoration,
this.wantKeepAlive = true,
this.showSelectedLabels = true,
this.pageSelect,
this.showUnselectedLabels = true,
this.selectedLabelStyle,
this.unselectedLabelStyle})
: super(key: key);