Package-level declarations
Functions
Link copied to clipboard
fun Modifier.thenIf(condition: Boolean, ifTrueModifier: Modifier, ifFalseModifier: Modifier = Modifier): Modifier
Applies either the ifTrueModifier or the ifFalseModifier depending on the condition.
Link copied to clipboard
fun <T> Modifier.thenIfNotNull(value: T?, ifNotNullModifier: (T) -> Modifier, ifNullModifier: Modifier = Modifier): Modifier
Applies either the ifNotNullModifier or the ifNullModifier depending on the value.