@MaterialScopeMarker
class ButtonGroupScope


Scope for the children of a buttonGroup

Summary

Public functions

Unit

Adds an item to a buttonGroup

Public functions

buttonGroupItem

fun buttonGroupItem(content: MaterialScope.() -> LayoutElementBuilders.LayoutElement): Unit

Adds an item to a buttonGroup

Parameters
content: MaterialScope.() -> LayoutElementBuilders.LayoutElement

the content to use for this item. Usually, this will be one of the Material 3 button or card variants.