SmoothNavigationBar constructor

const SmoothNavigationBar({
  1. required int selectedIndex,
  2. required Iterable<SmoothNavigationDestination> destinations,
  3. required ValueChanged<int> onDestinationSelected,
  4. Key? key,
})

Implementation

const SmoothNavigationBar({
  required this.selectedIndex,
  required this.destinations,
  required this.onDestinationSelected,
  super.key,
}) : assert(selectedIndex >= 0 && selectedIndex < destinations.length);