// Outof class
enum SingingCharacter { lafayette, jefferson }
// declare object
SingingCharacter? _character = SingingCharacter.lafayette;
Radio<SingingCharacter>(
value: SingingCharacter.lafayette,
groupValue: _character,
onChanged: (SingingCharacter? value) {
setState(() {
_character = value;
}
);
},
),