Icon
Icon component that draws sparkIcon using tint, defaulting to LocalContentColor. For a clickable icon, see IconButton.
Parameters
SparkIcon 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
to be applied to sparkIcon. If no tint is provided, then a default is used.
one of IconSize to be applied as size of the icon. If no size is provided the default IconSize.Medium is used.
Icon component that draws imageVector using tint, defaulting to LocalContentColor. For a clickable icon, see IconButton.
Parameters
ImageVector 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
to be applied to imageVector. If no intent is provided, then a default is used.
one of IconSize to be applied as size of the icon. If no size is provided the default IconSize.Medium is used.
Icon component that draws bitmap using tint, defaulting to LocalContentColor. For a clickable icon, see IconButton.
Parameters
ImageBitmap 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
to be applied to bitmap. If no intent is provided, then a default is used
one of IconSize to be applied as size of the icon. If no size is provided the default IconSize.Medium is used.
Icon component that draws painter using tint, defaulting to LocalContentColor. For a clickable icon, see IconButton.
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
to be applied to painter. If no intent is provided, then a default is used
one of IconSize to be applied as size of the icon. If no size is provided the default IconSize.Medium is used.