NavbarDecoration constructor

NavbarDecoration({
  1. Color? backgroundColor,
  2. BorderRadius? borderRadius,
  3. double? elevation,
  4. bool? enableFeedback,
  5. bool isExtended = false,
  6. Color? indicatorColor,
  7. BottomNavigationBarType? navbarType,
  8. double? height = 80,
  9. EdgeInsetsGeometry? margin,
  10. double minExtendedWidth = 256,
  11. double minWidth = 72,
  12. NavigationDestinationLabelBehavior? labelBehavior = NavigationDestinationLabelBehavior.alwaysShow,
  13. ShapeBorder? indicatorShape,
  14. bool? showSelectedLabels,
  15. bool showUnselectedLabels = true,
  16. Color? selectedIconColor,
  17. IconThemeData? selectedIconTheme,
  18. TextStyle? selectedLabelTextStyle,
  19. IconThemeData? unselectedIconTheme,
  20. TextStyle? unselectedLabelTextStyle,
  21. Color? unselectedIconColor,
  22. Color? unselectedItemColor,
  23. Color? unselectedLabelColor,
})

Implementation

NavbarDecoration({
  this.backgroundColor,
  this.borderRadius,
  this.elevation,
  this.enableFeedback,
  this.isExtended = false,
  this.indicatorColor,
  this.navbarType,
  this.height = 80,
  this.margin,
  this.minExtendedWidth = 256,
  this.minWidth = 72,
  this.labelBehavior = NavigationDestinationLabelBehavior.alwaysShow,
  this.indicatorShape,
  this.showSelectedLabels,
  this.showUnselectedLabels = true,
  this.selectedIconColor,
  this.selectedIconTheme,
  this.selectedLabelTextStyle,
  this.unselectedIconTheme,
  this.unselectedLabelTextStyle,
  this.unselectedIconColor,
  this.unselectedItemColor,
  this.unselectedLabelColor,
});