AppBarOverflowIndicator
Default overflow indicator for an `AppBarRow` and `AppBarColumn`. It uses a `IconButton`. When
AppBarOverflowIndicator
Composable Component
Default overflow indicator for an AppBarRow and AppBarColumn. It uses a IconButton. When
clicked it will open the menu associated with the provided AppBarMenuState.
Common
@Composable
fun AppBarOverflowIndicator(
menuState: AppBarMenuState,
modifier: Modifier = Modifier,
enabled: Boolean = true,
shape: Shape = IconButtonDefaults.standardShape,
colors: IconButtonColors = IconButtonDefaults.iconButtonColors(),
interactionSource: MutableInteractionSource? = null,
)
Parameters
| menuState | the AppBarMenuState 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.iconButtonColors. |
| 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. |
Create your own Component Library
Material Components are meant to be used as is and they do not allow customizations. To build your own Jetpack Compose component library use Compose Unstyled