BottomNavBuilder typedef

BottomNavBuilder = Widget Function(BuildContext context, List<NavDestination> destinations, int selectedIndex, ValueChanged<int> onChanged)

Signature for building a fully custom bottom navigation bar.

Receives the destinations, selectedIndex, and onChanged callback so the developer has full control over the UI.

Implementation

typedef BottomNavBuilder = Widget Function(
  BuildContext context,
  List<NavDestination> destinations,
  int selectedIndex,
  ValueChanged<int> onChanged,
);