🌈 Create new beautiful Compose Gradients with our new wesite ->
Function

minSize

Constrains the minimum size (width and height) of the component.

minSize

Source set: Common
public fun MinSizeScope.minSize(size: DpSize)

Constrains the minimum size (width and height) of the component. The component's dimensions, including padding, will be at least these values.

This property is not inherited

Parameters

size The minimum size (DpSize).

minSize

Source set: Common
public fun MinSizeScope.minSize(width: Dp, height: Dp)

Constrains the minimum width and height of the component. The component's dimensions, including padding, will be at least these values.

This property is not inherited

Parameters

width The minimum width.
height The minimum height.