androidx.compose.material3

AppBarOverflowIndicatorSince 1.10

Composable function

A part of AppBarRow. See that page for an overview and examples.

Parameters

@Composable
fun AppBarOverflowIndicator(
    menuState: AppBarMenuState,
    modifier: Modifier = Modifier,
    enabled: Boolean = true,
    shape: Shape = IconButtonDefaults.standardShape,
    colors: IconButtonColors = IconButtonDefaults.iconButtonColors(),
    interactionSource: MutableInteractionSource? = null,
)

menuState: AppBarMenuStateRequired

Opens and closes the overflow menu. Passed to you in overflowIndicator.

enabled: BooleanOptional

Default: true

Set to false to make the overflow button gray and not clickable.

shape: ShapeOptional

Default: IconButtonDefaults.standardShape

Sets the outline of the overflow button.

colors: IconButtonColorsOptional

Default: IconButtonDefaults.iconButtonColors()

Sets the colors of the overflow button.

interactionSource: MutableInteractionSource?Optional

Default: null

Lets you observe or control press, hover and focus states. Leave it null unless your code must react to them. See InteractionSource.

Same as in AppBarRow: modifier.

Types and parts