Icon

abstract fun Icon(state: ThemeAnimationState, tint: Color, modifier: Modifier = Modifier, contentDescription: String? = null)

Renders the icon based on the current theme state.

Parameters

state

The ThemeAnimationState containing the current theme information. The ThemeAnimationState.uiTheme property determines which icon variant to display for implementations with multiple icons.

tint

The color tint to apply to the icon. Provide Color.Unspecified to apply no tint.

modifier

The modifier to be applied to the icon component.

contentDescription

The accessibility description for the icon. This should describe the icon's purpose for screen readers.