AppBottomNavigationBar

fun AppBottomNavigationBar(modifier: Modifier = Modifier, items: List<AppNavigationTab>, selectedRoute: String, onTabSelected: (String) -> Unit)

A custom NavigationBar for the application. It adjusts its height and insets based on the platform (iOS vs Android).

Parameters

modifier

The Modifier to be applied to the navigation bar.

items

The list of AppNavigationTab to display.

selectedRoute

The route of the currently selected tab.

onTabSelected

Callback when a tab is clicked.