---
title: "ButtonGroupMenuState"
description: "State class for the overflow menu in [ButtonGroup]."
type: "class"
---

<div class='type'>Class</div>


<a id='references'></a>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
class ButtonGroupMenuState(initialIsShowing: Boolean = false)
```


State class for the overflow menu in `ButtonGroup`.


## Properties

<div class='sourceset sourceset-common'>Common</div>


> **Deprecated** Keeping for binary compatibility

```kotlin
var isExpanded = initialIsShowing
```


Indicates whether the overflow menu is currently expanded.



<div class='sourceset sourceset-common'>Common</div>


```kotlin
var isShowing
```


Indicates whether the overflow menu is currently showing.



## Functions

```kotlin
fun dismiss()
```


Closes the overflow menu.


```kotlin
fun show()
```


Show the overflow menu.



