textColor

@Composable
abstract fun textColor(active: Boolean): State<Color>

Gets the text color dependant on if the item is active or not

Return

text color as a State

Parameters

active

true if the component/item is selected and false otherwise