IconSizes
class IconSizes
A set of named icon sizes.
Sizes can be provided using LocalIconSize to set the size for Icons within a component, or they can be set explicitly using androidx.compose.foundation.layout.size.
| See also | |
|---|---|
Icon |
|
LocalIconSize |
Summary
Public functions |
|
|---|---|
IconSizes |
Returns a copy of this IconSizes, optionally overriding some of the values. |
open operator Boolean |
|
open Int |
hashCode() |
open String |
toString() |
Public properties |
|
|---|---|
Dp |
the size of a large icon. |
Dp |
the size of a medium icon. |
Dp |
the size of a small icon. |
Public constructors
IconSizes
Added in 1.0.0-alpha01
IconSizes(small: Dp = 32.dp, medium: Dp = 40.dp, large: Dp = 56.dp)