Radio<T> constructor

const Radio<T>({
  1. Key? key,
  2. bool isSelected = false,
  3. T? value,
  4. T? groupValue,
  5. ValueChanged<T?>? onChanged,
  6. ValueChanged<bool>? onSelectedChanged,
  7. Color? activeColor,
  8. double size = 24.0,
})

Creates a Radio selection instance.

Implementation

const Radio({
  super.key,
  this.isSelected = false,
  this.value,
  this.groupValue,
  this.onChanged,
  this.onSelectedChanged,
  this.activeColor,
  this.size = 24.0,
});