then If
inline fun Modifier.thenIf(condition: Boolean, ifFalse: Modifier.() -> Modifier = { this }, ifTrue: Modifier.() -> Modifier): Modifier
Apply the ifTrue block to the modifier chain only if the condition is true, otherwise apply ifFalse (nothing additional by default)
Return
the continued modifier chain with changes applied, if any.