Stylish Navigation Item
data class StylishNavigationItem(val icon: ImageVector, val label: String, val selected: Boolean = false, val onClick: () -> Unit = {}, val enabled: Boolean = true, val badge: @Composable () -> Unit? = null, val iconContent: @Composable () -> Unit? = null)
Immutable data describing a single destination in a com.segnities007.stylishui.components.organisms.StylishNavigationBar.
Constructors
Link copied to clipboard
constructor(icon: ImageVector, label: String, selected: Boolean = false, onClick: () -> Unit = {}, enabled: Boolean = true, badge: @Composable () -> Unit? = null, iconContent: @Composable () -> Unit? = null)
Properties
Link copied to clipboard
Optional badge content (e.g. a notification count) rendered near the icon. When null, no badge is shown.
Link copied to clipboard
The icon displayed for this destination.
Link copied to clipboard
Optional custom content rendered in place of icon when non-null. When null (the default), icon is rendered.