groupValue is not actually used inside the _buildRadioButton widget. onChanged is passed because it’s needed for the InkWell tap handling — I’m using InkWell to keep the current UI design and control the tap area.
groupValue
_buildRadioButton
onChanged
InkWell