Icon
Icon component that draws a Painter with tinting support.
By default, the icon uses LocalContentColor for tinting. Pass Color.Unspecified to tint to disable tinting and use the painter's original colors.
If the painter has an intrinsic size, it will be used. Otherwise, the icon defaults to IconDefaults.defaultSize.
Since
0.6.0
Parameters
The Painter to draw.
Accessibility description for the icon. Should be provided unless the icon is purely decorative. Pass null for decorative icons.
Modifier to apply to the icon.
The tint color to apply. Defaults to LocalContentColor. Pass Color.Unspecified to disable tinting.
Icon component that draws an ImageVector with tinting support.
Since
0.6.0
Parameters
The ImageVector to draw.
Accessibility description for the icon.
Modifier to apply to the icon.
The tint color to apply. Defaults to LocalContentColor.
Icon component that draws an ImageBitmap with tinting support.
Since
0.6.0
Parameters
The ImageBitmap to draw.
Accessibility description for the icon.
Modifier to apply to the icon.
The tint color to apply. Defaults to LocalContentColor.