Icon
Icon component that draws bitmap using tint, defaulting to LocalContentColor
Parameters
ImageBitmap to draw inside this Icon
StringRes used by accessibility services to describe what this icon represents
This should always be provided unless this icon is used for decorative purposes, and does not represent a meaningful action that a user can take
optional Modifier for this Icon
tint to be applied to bitmap
If Color.Unspecified is provided, then no tint is applied
Icon component that draws imageVector using tint, defaulting to LocalContentColor
Parameters
ImageVector to draw inside this Icon
StringRes used by accessibility services to describe what this icon represents
This should always be provided unless this icon is used for decorative purposes, and does not represent a meaningful action that a user can take
optional Modifier for this Icon
tint to be applied to imageVector
If Color.Unspecified is provided, then no tint is applied
Icon component that draws a painter using tint, defaulting to LocalContentColor.
Parameters
Painter to draw inside this Icon
text used by accessibility services to describe what this icon represents
This should always be provided unless this icon is used for decorative purposes, and does not represent a meaningful action that a user can take
This text should be localized, such as by using androidx.compose.ui.res.stringResource or similar
optional Modifier for this Icon
tint to be applied to painter
If Color.Unspecified is provided, then no tint is applied
Icon component that draws activeImageVector or disableImageVector using tint, defaulting to LocalContentColor
Parameters
optional Modifier for this Icon
Boolean will show one icon or another depending on whether it is active or not
ImageVector to draw inside this Icon
ImageVector to draw inside this Icon represents
This should always be provided unless this icon is used for decorative purposes, and does not represent a meaningful action that a user can take
tint to be applied to activeImageVector or disableImageVector
If Color.Unspecified is provided, then no tint is applied