iconButtonSize
Creates a ButtonSize that presents sizes used by IconButton.
Return
The new ButtonSize with expected width and height.
Parameters
size
The size of IconButton.
Creates a ButtonSize that presents sizes used by IconButton.
Return
The new ButtonSize with expected width and height.
Parameters
width
IconButton's width
height
IconButton's height
fun iconButtonSize(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 IconButton.
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.