AtomicNavigationBar constructor
const
AtomicNavigationBar({
- Key? key,
- required List<
AtomicNavigationDestination> destinations, - required int selectedIndex,
- required ValueChanged<
int> onDestinationSelected, - Color? backgroundColor,
- bool glassMorphism = true,
- double height = 82.0,
- EdgeInsetsGeometry? margin,
- double borderRadius = 0.0,
- Duration animationDuration = AtomicAnimations.normal,
- bool showLabels = true,
- 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,
});