thenIf
fun Modifier.thenIf(condition: Boolean, ifTrueModifier: Modifier, ifFalseModifier: Modifier = Modifier): Modifier
Applies either the ifTrueModifier or the ifFalseModifier depending on the condition.
Since
0.2.0
Applies either the ifTrueModifier or the ifFalseModifier depending on the condition.
0.2.0