IconButtonContrast
Icon buttons help people take supplementary actions with a single tap. They’re used when a compact button is required, such as in a toolbar or image list.
Parameters
a content to be drawn inside the IconButton
called when this icon button is clicked
the Modifier to be applied to this icon button
one of IconButtonIntent values that will be used to determine IconButtonColors to be applied
controls the enabled state of this icon button. When false
, this component will not respond to user input, and it will appear visually disabled and disabled to accessibility services.
to be applied to the IconButton background. It should be one of ButtonShape values
one of the IconButtonSize values that sets width and height of the IconButton
text used by accessibility services to describe what this icon button represents. This text should be localized, such as by using androidx.compose.ui.res.stringResource or similar
the MutableInteractionSource representing the stream of Interactions for this icon button. You can create and pass in your own remember
ed instance to observe Interactions and customize the appearance / behavior of this icon button in different states.