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.