Function

ButtonGroupState

Creates a ButtonGroupState.

ButtonGroupState

Source set: Android
public fun ButtonGroupState(initialItemIndex: Int = 0): ButtonGroupState

Creates a ButtonGroupState.

Parameters

initialItemIndex item index to be scrolled to when ButtonGroup is initialized
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: