RadioGroup<T> constructor

const RadioGroup<T>({
  1. Key? key,
  2. T? groupValue,
  3. required ValueChanged<T?> onChanged,
  4. required Widget child,
})

Creates a radio group.

The groupValue set the selection on a subtree radio with the same RawRadio.value.

The onChanged is called when the selection has changed in the subtree radios.

Implementation

const RadioGroup({super.key, this.groupValue, required this.onChanged, required this.child});