selectionInput property

GoogleAppsCardV1SelectionInput? selectionInput
getter/setter pair

Displays a selection control that lets users select items.

Selection controls can be checkboxes, radio buttons, switches, or dropdown menus. For example, the following JSON creates a dropdown menu that lets users choose a size: "selectionInput": { "name": "size", "label": "Size" "type": "DROPDOWN", "items": [ { "text": "S", "value": "small", "selected": false }, { "text": "M", "value": "medium", "selected": true }, { "text": "L", "value": "large", "selected": false }, { "text": "XL", "value": "extra_large", "selected": false } ] }

Implementation

GoogleAppsCardV1SelectionInput? selectionInput;