M3NavBar constructor

const M3NavBar({
  1. Key? key,
  2. required List<NavbarItem> items,
  3. required dynamic onTap(
    1. int
    ),
  4. required M3NavbarDecoration m3Decoration,
  5. NavigationDestinationLabelBehavior labelBehavior = NavigationDestinationLabelBehavior.alwaysShow,
  6. double? navBarElevation,
  7. double navbarHeight = kM3NavbarHeight,
  8. 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);