Radio<T> constructor

Radio<T>({
  1. required T value,
  2. required T? groupValue,
  3. Widget? label,
  4. ValueCmdCallback<T>? onChanged,
  5. bool enabled = true,
  6. bool autofocus = false,
  7. String? focusId,
  8. FocusController? focusController,
  9. Key? key,
})

Implementation

Radio({
  required this.value,
  required this.groupValue,
  this.label,
  this.onChanged,
  this.enabled = true,
  this.autofocus = false,
  this.focusId,
  this.focusController,
  super.key,
});