buttonSize

fun buttonSize(width: Dp = Dp.Unspecified, height: Dp = Dp.Unspecified, minWidth: Dp = Dp.Unspecified, maxWidth: Dp = Dp.Unspecified, minHeight: Dp = Dp.Unspecified, maxHeight: Dp = Dp.Unspecified): ButtonSize

Creates a ButtonSize that presents sizes used by Button

Return

a new ButtonSize with the given parameters.

Parameters

width

the width of this ButtonSize.

height

the height of this ButtonSize.

minWidth

the minimum width of this ButtonSize.

maxWidth

the maximum width of this ButtonSize.

minHeight

the minimum height of this ButtonSize.

maxHeight

the maximum height of this ButtonSize.