toWidget method

  1. @override
Widget toWidget(
  1. BuildContext context
)
override

Return the associated Widget

Implementation

@override
Widget toWidget(BuildContext context) => RadioListTile<String>(
      key: id == null ? null : Key(id!),
      title: Text(caption ?? '<NO-TITLE>'),
      subtitle: subCaption == null ? null : Text(subCaption ?? ''),
      value: value ?? '',
      groupValue: groupValue,
      onChanged: (v) {},
    );