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
menuState: AppBarMenuStateRequiredOpens and closes the overflow menu. Passed to you in overflowIndicator.
enabled: BooleanOptional
enabled: BooleanOptionalDefault: true
Set to false to make the overflow button gray and not clickable.
shape: ShapeOptional
shape: ShapeOptionalDefault: IconButtonDefaults.standardShape
Sets the outline of the overflow button.
colors: IconButtonColorsOptional
colors: IconButtonColorsOptionalDefault: IconButtonDefaults.iconButtonColors()
Sets the colors of the overflow button.
interactionSource: MutableInteractionSource?Optional
interactionSource: MutableInteractionSource?OptionalDefault: 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
AppBarRowAppBarColumnAppBarOverflowIndicator