responsivePadding

fun Modifier.responsivePadding(vararg minDimensionsToPadding: Pair<Dp, Dp>): Modifier

A Modifier that adds different padding depending on the minimum dimension of the max constraints.

This modifier is especially useful when passed to the Printable composable, in which case the modifier will be applied to every page of the printed document and can be used to create page margins.