square

fun square(size: Dp): ComponentSize

Creates a square size with the same value for width and height.

Parameters

size

The size value.