MaterialCheckboxData constructor
MaterialCheckboxData({
- Key? widgetKey,
- bool? value,
- bool? tristate,
- ValueChanged<
bool?> ? onChanged, - Color? activeColor,
- Color? checkColor,
- Color? focusColor,
- FocusNode? focusNode,
- bool? autofocus,
- OutlinedBorder? shape,
- BorderSide? side,
- MouseCursor? mouseCursor,
- MaterialStateProperty<
Color?> ? fillColor, - Color? hoverColor,
- MaterialStateProperty<
Color?> ? overlayColor, - double? splashRadius,
- MaterialTapTargetSize? materialTapTargetSize,
- VisualDensity? visualDensity,
- bool isError = false,
- 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,
});