UnboundedRippleIconButton

fun UnboundedRippleIconButton(onClick: () -> Unit, modifier: Modifier = Modifier, enabled: Boolean = true, colors: IconButtonColors = IconButtonDefaults.iconButtonColors(), interactionSource: MutableInteractionSource? = null, rippleRadius: Dp? = Dp.Unspecified, shape: Shape = CircleShape, buttonPadding: PaddingValues = PaddingValues(0.dp), border: BorderStroke? = null, animationSpec: FiniteAnimationSpec<Color> = MaterialTheme.motionScheme.slowEffectsSpec(), content: @Composable BoxScope.() -> Unit)

A button with slot for an icon and a ripple effect that is unbounded.

Parameters

onClick

The action to perform when the button is clicked.

modifier

The Modifier to apply to this button.

enabled

Whether the button is enabled or not.

colors

The IconButtonColors to use for the button.

interactionSource

The MutableInteractionSource to use for the button.

rippleRadius

The radius of the ripple effect in Dp.

shape

The Shape to use for the button.

buttonPadding

The padding to be applied around the button. Defafults to Zero.

border

The BorderStroke to use for the button.

animationSpec

The FiniteAnimationSpec to use for the button.

content

The content of the button where the icon is placed.