GroupedRadio<T> constructor
const
GroupedRadio<T> ({
- Key? key,
- required List<
FormBuilderFieldOption< options,T> > - required OptionsOrientation orientation,
- required ValueChanged<
T?> onChanged, - T? value,
- List<
T> ? disabled, - Color? activeColor,
- Color? focusColor,
- Color? hoverColor,
- MaterialTapTargetSize? materialTapTargetSize,
- Axis wrapDirection = Axis.horizontal,
- WrapAlignment wrapAlignment = WrapAlignment.start,
- double wrapSpacing = 0.0,
- WrapAlignment wrapRunAlignment = WrapAlignment.start,
- double wrapRunSpacing = 0.0,
- WrapCrossAlignment wrapCrossAxisAlignment = WrapCrossAlignment.start,
- TextDirection? wrapTextDirection,
- VerticalDirection wrapVerticalDirection = VerticalDirection.down,
- Widget? separator,
- ControlAffinity controlAffinity = ControlAffinity.leading,
Implementation
const GroupedRadio({
super.key,
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,
});