Class

ButtonGroupMenuState

State class for the overflow menu in ButtonGroup.

Source set: Common
public class ButtonGroupMenuState(initialIsShowing: Boolean = false)

State class for the overflow menu in ButtonGroup.

Properties

isShowing

Source set: Common
public var isShowing: Boolean by mutableStateOf(initialIsShowing)

Indicates whether the overflow menu is currently showing.

Functions

dismiss

Source set: Common
public fun dismiss(): Unit

Closes the overflow menu.

show

Source set: Common
public fun show(): Unit

Show the overflow menu.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: