diff --git a/packages/flutter_genui/lib/src/catalog/core_widgets/multiple_choice.dart b/packages/flutter_genui/lib/src/catalog/core_widgets/multiple_choice.dart index c083cae7d..d23930012 100644 --- a/packages/flutter_genui/lib/src/catalog/core_widgets/multiple_choice.dart +++ b/packages/flutter_genui/lib/src/catalog/core_widgets/multiple_choice.dart @@ -140,5 +140,34 @@ final multipleChoice = CatalogItem( } ] ''', + () => ''' + [ + { + "id": "root", + "component": { + "MultipleChoice": { + "selections": { + "path": "/mySelections" + }, + "maxAllowedSelections": 1, + "options": [ + { + "label": { + "literalString": "Radio Button 1" + }, + "value": "1" + }, + { + "label": { + "literalString": "Radio Button 2" + }, + "value": "2" + } + ] + } + } + } + ] + ''', ], );