TbBottomNavigationWidget constructor

TbBottomNavigationWidget({
  1. Key? key,
  2. Widget builderPage(
    1. BuildContext?,
    2. int
    )?,
  3. ScrollPhysics? physics,
  4. bool animateToPage = true,
  5. Color? bottomNavigationBarBgColor,
  6. List<Widget>? pages,
  7. List<String>? titles,
  8. double? selectIconSize,
  9. double? unSelectIconSize,
  10. BottomNavigationBarThemeData? bottomNavigationBarTheme,
  11. Map<String, String>? iconPath,
  12. double? bottomNavigationBarHeight,
  13. Duration? pageDuration,
  14. EdgeInsetsGeometry? margin,
  15. EdgeInsetsGeometry? padding,
  16. Decoration? decoration,
  17. bool wantKeepAlive = true,
  18. bool showSelectedLabels = true,
  19. dynamic pageSelect(
    1. int
    )?,
  20. bool showUnselectedLabels = true,
  21. TextStyle? selectedLabelStyle,
  22. 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);