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