AppBarOverflowIndicator

Functions summary

Unit
@Composable
AppBarOverflowIndicator(
    menuState: AppBarMenuState,
    modifier: Modifier,
    enabled: Boolean,
    shape: Shape,
    colors: IconButtonColors,
    interactionSource: MutableInteractionSource?
)

Default overflow indicator for an AppBarRow and AppBarColumn.

Cmn

Functions

AppBarOverflowIndicator

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

Default overflow indicator for an AppBarRow and AppBarColumn. It uses a IconButton. When clicked it will open the menu associated with the provided AppBarMenuState.

Parameters
menuState: AppBarMenuState

the AppBarMenuState used to show or dismiss the overflow menu.

modifier: Modifier = Modifier

Modifier to be applied to the overflow indicator.

enabled: Boolean = true

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: Shape = IconButtonDefaults.standardShape

defines the shape of this icon button's container.

colors: IconButtonColors = IconButtonDefaults.iconButtonColors()

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

interactionSource: MutableInteractionSource? = null

an optional hoisted MutableInteractionSource for observing and emitting androidx.compose.foundation.interaction.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.