BsRadio<T> constructor

const BsRadio<T>({
  1. Key? key,
  2. required T value,
  3. required T? groupValue,
  4. required ValueChanged<T?>? onChanged,
  5. Widget? label,
  6. bool inline = false,
  7. bool reverse = false,
  8. bool disabled = false,
  9. BsValidationState? validationState,
})

Creates a BsRadio selection control.

Implementation

const BsRadio({
  super.key,
  required this.value,
  required this.groupValue,
  required this.onChanged,
  this.label,
  this.inline = false,
  this.reverse = false,
  this.disabled = false,
  this.validationState,
});