ButtonGroupScope
@MaterialScopeMarker
public final class ButtonGroupScope
Scope for the children of a buttonGroup
Summary
Public methods |
|
|---|---|
final void |
buttonGroupItem(Adds an item to a |
Public methods
buttonGroupItem
public final void buttonGroupItem(
@NonNull Function1<@NonNull MaterialScope, @NonNull LayoutElementBuilders.LayoutElement> content
)
Adds an item to a buttonGroup
| Parameters | |
|---|---|
@NonNull Function1<@NonNull MaterialScope, @NonNull LayoutElementBuilders.LayoutElement> content |
the content to use for this item. Usually, this will be one of the Material 3 button or card variants (for example |