AppBottomNavigation

data class AppBottomNavigation(val selectedRoute: String = tabList.first().route, val items: List<AppNavigationTab> = tabList, val onTabSelected: (String) -> Unit)

Data class representing the state of the bottom navigation bar.

Constructors

Link copied to clipboard
constructor(selectedRoute: String = tabList.first().route, items: List<AppNavigationTab> = tabList, onTabSelected: (String) -> Unit)

Properties

Link copied to clipboard

The list of navigation tabs.

Link copied to clipboard

Callback when a tab is selected.

Link copied to clipboard

The currently selected route.