M3NavBar constructor
const
M3NavBar({
- Key? key,
- required List<
NavbarItem> items, - required dynamic onTap(),
- required M3NavbarDecoration m3Decoration,
- NavigationDestinationLabelBehavior labelBehavior = NavigationDestinationLabelBehavior.alwaysShow,
- required int index,
Implementation
const M3NavBar({
Key? key,
required this.items,
required this.onTap,
required this.m3Decoration,
this.labelBehavior = NavigationDestinationLabelBehavior.alwaysShow,
this.navBarElevation,
this.navbarHeight = kM3NavbarHeight,
required this.index,
}) : super(key: key);