TabBarItemData

constructor(value: T, icon: @Composable () -> Unit, label: @Composable () -> Unit? = null, badge: @Composable () -> Unit? = null, enabled: Boolean = true, contentDescription: String = "")

Parameters

icon

drawn with the item's state color already applied; pass an Icon without a tint.

label

the visible name, or null for an icon-only destination.

badge

optional content pinned to the icon's top-end corner, such as a CountBadge.

contentDescription

the spoken name; required when label is null, ignored otherwise.