GroupedRadio<T> constructor

GroupedRadio<T>({
  1. required List<FormBuilderFieldOption<T>> options,
  2. required OptionsOrientation orientation,
  3. required ValueChanged<T?> onChanged,
  4. T? value,
  5. List<T>? disabled,
  6. Color? activeColor,
  7. Color? focusColor,
  8. Color? hoverColor,
  9. MaterialTapTargetSize? materialTapTargetSize,
  10. Axis wrapDirection = Axis.horizontal,
  11. WrapAlignment wrapAlignment = WrapAlignment.start,
  12. double wrapSpacing = 0.0,
  13. WrapAlignment wrapRunAlignment = WrapAlignment.start,
  14. double wrapRunSpacing = 0.0,
  15. WrapCrossAlignment wrapCrossAxisAlignment = WrapCrossAlignment.start,
  16. TextDirection? wrapTextDirection,
  17. VerticalDirection wrapVerticalDirection = VerticalDirection.down,
  18. Widget? separator,
  19. ControlAffinity controlAffinity = ControlAffinity.leading,
})

Implementation

GroupedRadio({
  required this.options,
  required this.orientation,
  required this.onChanged,
  this.value,
  this.disabled,
  this.activeColor,
  this.focusColor,
  this.hoverColor,
  this.materialTapTargetSize,
  this.wrapDirection = Axis.horizontal,
  this.wrapAlignment = WrapAlignment.start,
  this.wrapSpacing = 0.0,
  this.wrapRunAlignment = WrapAlignment.start,
  this.wrapRunSpacing = 0.0,
  this.wrapCrossAxisAlignment = WrapCrossAlignment.start,
  this.wrapTextDirection,
  this.wrapVerticalDirection = VerticalDirection.down,
  this.separator,
  this.controlAffinity = ControlAffinity.leading,
});