ChoiceGroupItem

constructor(key: T, content: ChoiceContent, leadingContent: ChoiceLeadingContent = ChoiceLeadingContent.None, trailingContent: ChoiceTrailingContent = ChoiceTrailingContent.None, enabled: Boolean = true)

Parameters

key

Unique identifier for each item in the group list.

content

The content of the Choice item. Uses CenterContent.

leadingContent

Leading content for Choice: Icon, Payment Logo, or Image. Uses ChoiceLeadingContent.

trailingContent

Trailing content for Choice: Icon, Image, Text, or Price. Uses ChoiceTrailingContent.

enabled

Controls the enabled state of the Choice. When false, this button will not be selectable and appears in the disabled ui state.