MaterialCheckboxData constructor

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

Implementation

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