GroupedCheckbox<T> constructor

const GroupedCheckbox<T>({
  1. Key? key,
  2. required List<T>? itemList,
  3. required CheckboxOrientation orientation,
  4. required dynamic onChanged(
    1. List<T>?
    ),
  5. required Widget itemWidgetBuilder(
    1. T
    ),
  6. List<T>? checkedItemList,
  7. List<T>? disabled,
  8. Color? activeColor,
  9. Color? checkColor,
  10. Color? focusColor,
  11. Color? hoverColor,
  12. MaterialTapTargetSize? materialTapTargetSize,
  13. bool tristate = false,
  14. Axis wrapDirection = Axis.horizontal,
  15. WrapAlignment wrapAlignment = WrapAlignment.start,
  16. double wrapSpacing = 0.0,
  17. WrapAlignment wrapRunAlignment = WrapAlignment.start,
  18. double wrapRunSpacing = 0.0,
  19. WrapCrossAlignment wrapCrossAxisAlignment = WrapCrossAlignment.start,
  20. TextDirection? wrapTextDirection,
  21. VerticalDirection wrapVerticalDirection = VerticalDirection.down,
  22. MouseCursor? mouseCursor,
  23. MaterialStateProperty<Color?>? fillColor,
  24. MaterialStateProperty<Color?>? overlayColor,
  25. double? splashRadius,
  26. VisualDensity? visualDensity,
  27. FocusNode? focusNode,
  28. bool autofocus = false,
  29. OutlinedBorder? shape,
  30. BorderSide? side,
  31. bool isError = false,
  32. String? semanticLabel,
})

Implementation

const GroupedCheckbox({
  Key? key,
  required this.itemList,
  required this.orientation,
  required this.onChanged,
  required this.itemWidgetBuilder,
  this.checkedItemList,
  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.mouseCursor,
  this.fillColor,
  this.overlayColor,
  this.splashRadius,
  this.visualDensity,
  this.focusNode,
  this.autofocus = false,
  this.shape,
  this.side,
  this.isError = false,
  this.semanticLabel,
}) : super(key: key);