NUIBottomNavPage constructor

NUIBottomNavPage({
  1. Key? key,
  2. required List<Widget> pages,
  3. NUIBottomNavPageController? controller,
  4. dynamic onNavigationSelect(
    1. int page
    )?,
  5. bool? wrapInVisible = false,
  6. BorderRadius? navBorderRadius,
  7. Color? shadowColor,
  8. double? shadowRadius,
  9. Offset? shadowOffset,
  10. required List<NUIBottomNavItem> navItems,
  11. Color? backgroundColor,
  12. Color? activeColor,
  13. Color? inactiveColor,
  14. Color? bottomNavColor,
  15. int startingPage = 0,
  16. bool showSelectedLabels = true,
  17. bool showUnselectedLabels = true,
  18. double elevation = 1,
  19. double activeFontSize = 14,
  20. double inactiveFontSize = 14,
  21. TextStyle? activeTextStyle,
  22. TextStyle? inactiveTextStyle,
  23. EdgeInsets? padding,
  24. bool animate = true,
})

Implementation

NUIBottomNavPage({
  Key? key,
  required this.pages,
  this.controller,
  this.onNavigationSelect,
  this.wrapInVisible = false,
  this.navBorderRadius,
  this.shadowColor,
  this.shadowRadius,
  this.shadowOffset,
  required this.navItems,
  this.backgroundColor,
  this.activeColor,
  this.inactiveColor,
  this.bottomNavColor,
  this.startingPage = 0,
  this.showSelectedLabels = true,
  this.showUnselectedLabels = true,
  this.elevation = 1,
  this.activeFontSize = 14,
  this.inactiveFontSize = 14,
  this.activeTextStyle,
  this.inactiveTextStyle,
  this.padding,
  this.animate = true
}) : super(key: key);