toggleIconButtonSize

Creates a ButtonSize that presents sizes used by IconButton.

Return

The new ButtonSize with expected width and height.

Parameters

size

The size of IconButton.


fun toggleIconButtonSize(width: Dp, height: Dp): ButtonSize

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