SmoothNavigationBar constructor
- required int selectedIndex,
- required Iterable<
SmoothNavigationDestination> destinations, - required ValueChanged<
int> onDestinationSelected, - Key? key,
Implementation
const SmoothNavigationBar({
required this.selectedIndex,
required this.destinations,
required this.onDestinationSelected,
super.key,
}) : assert(selectedIndex >= 0 && selectedIndex < destinations.length);