AtomicNavigationBar constructor

const AtomicNavigationBar({
  1. Key? key,
  2. required List<AtomicNavigationDestination> destinations,
  3. required int selectedIndex,
  4. required ValueChanged<int> onDestinationSelected,
  5. Color? backgroundColor,
  6. bool glassMorphism = true,
  7. double height = 82.0,
  8. EdgeInsetsGeometry? margin,
  9. double borderRadius = 0.0,
  10. Duration animationDuration = AtomicAnimations.normal,
  11. bool showLabels = true,
  12. bool showSelectedLabels = true,
})

Implementation

const AtomicNavigationBar({
  super.key,
  required this.destinations,
  required this.selectedIndex,
  required this.onDestinationSelected,
  this.backgroundColor,
  this.glassMorphism = true,
  this.height = 82.0,
  this.margin,
  this.borderRadius = 0.0,
  this.animationDuration = AtomicAnimations.normal,
  this.showLabels = true,
  this.showSelectedLabels = true,
});