MaterialCheckboxData constructor

MaterialCheckboxData({
  1. Key? widgetKey,
  2. bool? value,
  3. bool? tristate,
  4. ValueChanged<bool?>? onChanged,
  5. Color? activeColor,
  6. Color? checkColor,
  7. Color? focusColor,
  8. FocusNode? focusNode,
  9. bool? autofocus,
  10. OutlinedBorder? shape,
  11. BorderSide? side,
  12. MouseCursor? mouseCursor,
  13. MaterialStateProperty<Color?>? fillColor,
  14. Color? hoverColor,
  15. MaterialStateProperty<Color?>? overlayColor,
  16. double? splashRadius,
  17. MaterialTapTargetSize? materialTapTargetSize,
  18. VisualDensity? visualDensity,
  19. bool isError = false,
  20. String? semanticLabel,
})

Implementation

MaterialCheckboxData({
  // Common
  super.widgetKey,
  super.value,
  super.tristate,
  super.onChanged,
  super.activeColor,
  super.checkColor,
  super.focusColor,
  super.focusNode,
  super.autofocus,
  super.shape,
  super.side,
  //Material
  this.mouseCursor,
  this.fillColor,
  this.hoverColor,
  this.overlayColor,
  this.splashRadius,
  this.materialTapTargetSize,
  this.visualDensity,
  this.isError = false,
  this.semanticLabel,
});