Function

defaultMinSize

Constrain the size of the wrapped layout only when it would be otherwise unconstrained: the minWidth and minHeight constraints are only applied when the corresponding dimension has not been constrained by another modifier (e.g.

defaultMinSize

Source set: Android
public fun RemoteModifier.defaultMinSize(
    minWidth: RemoteDp? = null,
    minHeight: RemoteDp? = null,
): RemoteModifier

Constrain the size of the wrapped layout only when it would be otherwise unconstrained: the minWidth and minHeight constraints are only applied when the corresponding dimension has not been constrained by another modifier (e.g. width, height, size, or fillMaxWidth).

Parameters

minWidth The minimum width to be used if width is otherwise unconstrained.
minHeight The minimum height to be used if height is otherwise unconstrained.

Content updated: