GroupedCheckbox<T> constructor
GroupedCheckbox<T> ({
- Key? key,
- required List<
FormBuilderFieldOption< options,T> > - required OptionsOrientation orientation,
- required ValueChanged<
List< onChanged,T> > - List<
T> ? value, - List<
T> ? disabled, - Color? activeColor,
- Color? checkColor,
- Color? focusColor,
- Color? hoverColor,
- MaterialTapTargetSize? materialTapTargetSize,
- bool tristate = false,
- 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
GroupedCheckbox({
Key? key,
required this.options,
required this.orientation,
required this.onChanged,
this.value,
this.disabled,
this.activeColor,
this.checkColor,
this.focusColor,
this.hoverColor,
this.materialTapTargetSize,
this.tristate = false,
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,
}) : super(key: key);