ButtonTinted
Tinted buttons are medium-emphasis buttons that is an alternative middle ground between default Buttons (filled) and Outlined buttons. They can be used in contexts where lower-priority button requires slightly more emphasis than an outline would give, such as "Next" in an onboarding flow.
It's best paired with either a filled button or a outlined button.
Parameters
Will be called when the user clicks the button
Modifier to be applied to the button
The size of the button
The intent color for the button.
Controls the enabled state of the button. When false
, this button will not be clickable
The optional icon to be displayed at the start or the end of the button container.
If an icon is added, you can configure the side where is should be displayed, at the start or end of the button
show or hide a CircularProgressIndicator at the start that push the content to indicate a loading state
the MutableInteractionSource representing the stream of Interactions for this button. You can create and pass in your own remember
ed instance to observe Interactions and customize the appearance / behavior of this button in different states.
Tinted buttons are medium-emphasis buttons that is an alternative middle ground between default Buttons (filled) and Outlined buttons. They can be used in contexts where lower-priority button requires slightly more emphasis than an outline would give, such as "Next" in an onboarding flow.
It's best paired with either a filled button or a outlined button.
Parameters
Will be called when the user clicks the button
The text to be displayed in the button
Modifier to be applied to the button
The size of the button
The intent color for the button.
Controls the enabled state of the button. When false
, this button will not be clickable
The optional icon to be displayed at the start or the end of the button container.
If an icon is added, you can configure the side where is should be displayed, at the start or end of the button
show or hide a CircularProgressIndicator at the start that push the content to indicate a loading state
the MutableInteractionSource representing the stream of Interactions for this button. You can create and pass in your own remember
ed instance to observe Interactions and customize the appearance / behavior of this button in different states.