Known direct subclasses
LayoutStyleScope

An interface that introduces the layout properties to a Style receiver scope.

Known indirect subclasses
StyleScope

A StyleScope is the receiver scope of a Style lambda.


An interface that introduces min size properties to a Style receiver scope interface.

See also
StyleScope

Summary

Public functions

Unit
minHeight(value: Dp)

Constrains the minimum height of the component.

Cmn
Unit
minWidth(value: Dp)

Constrains the minimum width of the component.

Cmn

Extension functions

Unit

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

Cmn
Unit

Constrains the minimum width and height of the component.

Cmn

Public functions

minHeight

fun minHeight(value: Dp): Unit

Constrains the minimum height of the component. The component's height, including padding, will be at least this value.

This property is not inherited

Parameters
value: Dp

The minimum height.

minWidth

fun minWidth(value: Dp): Unit

Constrains the minimum width of the component. The component's width, including padding, will be at least this value.

This property is not inherited

Parameters
value: Dp

The minimum width.

Extension functions

MinSizeScope.minSize

@ExperimentalFoundationStyleApi
fun MinSizeScope.minSize(size: DpSize): Unit

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: DpSize

The minimum size (DpSize).

MinSizeScope.minSize

@ExperimentalFoundationStyleApi
fun MinSizeScope.minSize(width: Dp, height: Dp): Unit

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: Dp

The minimum width.

height: Dp

The minimum height.