ActionIconButton

fun ActionIconButton(modifier: Modifier = Modifier, icon: Painter, iconTint: Color? = null, onClick: () -> Unit, isInProgress: Boolean = false, enabled: Boolean = true)
fun ActionIconButton(modifier: Modifier = Modifier, icon: ImageVector, iconTint: Color? = null, onClick: () -> Unit, isInProgress: Boolean = false, enabled: Boolean = true)

Common outlined button with an icon.

Parameters

modifier

Modifier to be used for the button.

isInProgress

Boolean flag that will indicate if the action is in progress and this will show a progress indicator in front of the button text.

icon

ImageVector to be shown int he button icon.

iconTint

Color to be used as tint for the button icon.

onClick

Action to be performed on button click.

enabled

Flag to enable or disable the button.