size

fun ModifierFieldValueList.size(width: Dp = 0.dp, height: Dp = 0.dp): ModifierFieldValueList

Adds size to this modifier list with individual width and height values.

Return

A new ModifierFieldValueList with size applied

Parameters

width

The component width

height

The component height


Adds equal size to this modifier list for both width and height.

Return

A new ModifierFieldValueList with size applied

Parameters

size

The size value to apply to both width and height