GroupedCheckbox<T> constructor

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

Implementation

const GroupedCheckbox({
  super.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,
});