TabBarScope
interface TabBarScope
TabBarScope is the scope for TabBar. It defines the interface for adding items to the TabBar.
Functions
Link copied to clipboard
abstract fun item(selected: Boolean, onClick: () -> Unit, mainContent: @Composable () -> Unit, modifier: Modifier = Modifier, badge: @Composable () -> Unit? = null, supportContent: @Composable () -> Unit? = null, extraContent: @Composable () -> Unit? = null)
Add an item to the TabBar.