Radio<T> constructor

const Radio<T>({
  1. Key? key,
  2. required T value,
  3. required T? groupValue,
  4. ValueChanged<T?>? onChanged,
  5. FocusNode? focusNode,
  6. Color? activeColor,
  7. Color? checkColor,
})

Creates a Radio with the given value and groupValue.

Implementation

const Radio({
  super.key,
  required this.value,
  required this.groupValue,
  this.onChanged,
  this.focusNode,
  this.activeColor,
  this.checkColor,
});