then If Not Null
inline fun <T> Modifier.thenIfNotNull(value: T, ifNull: Modifier.() -> Modifier = { this }, block: Modifier.(T & Any) -> Modifier): Modifier
Apply the block to the modifier chain only if the value is not null, otherwise apply ifNull (nothing additional by default)
Return
the continued modifier chain with changes applied, if any.