OverflowIndicator

@Composable
fun OverflowIndicator(menuState: ButtonGroupMenuState, modifier: Modifier = Modifier, enabled: Boolean = true, shape: Shape = IconButtonDefaults.filledShape, colors: IconButtonColors = IconButtonDefaults.filledIconButtonColors(), interactionSource: MutableInteractionSource? = null)

Default overflow indicator for ButtonGroup. It uses a FilledIconButton. When clicked it will open the menu associated with the provided ButtonGroupMenuState.

Parameters

menuState

the ButtonGroupMenuState used to show or dismiss the overflow menu.

modifier

Modifier to be applied to the overflow indicator

enabled

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.

shape

defines the shape of this icon button's container

colors

IconButtonColors that will be used to resolve the colors used for this icon button in different states. See IconButtonDefaults.filledIconButtonColors.

interactionSource

an optional hoisted MutableInteractionSource for observing and emitting Interactions for this icon button. You can use this to change the icon button's appearance or preview the icon button in different states. Note that if null is provided, interactions will still happen internally.