CheckBoxProperty constructor
const
CheckBoxProperty({
- Key? key,
- required String name,
- bool? startValue,
- ValueChanged<
bool?> ? onChanged, - MouseCursor? mouseCursor,
- Color? activeColor,
- MaterialStateProperty<
Color?> ? fillColor, - Color? checkColor,
- MaterialTapTargetSize? materialTapTargetSize,
- VisualDensity? visualDensity,
- Color? focusColor,
- Color? hoverColor,
- MaterialStateProperty<
Color?> ? overlayColor, - double? splashRadius,
- FocusNode? focusNode,
- bool autofocus = false,
- OutlinedBorder? shape,
- BorderSide? side,
- bool isError = false,
Implementation
const CheckBoxProperty({
Key? key,
required this.name,
this.startValue,
this.onChanged,
this.mouseCursor,
this.activeColor,
this.fillColor,
this.checkColor,
this.materialTapTargetSize,
this.visualDensity,
this.focusColor,
this.hoverColor,
this.overlayColor,
this.splashRadius,
this.focusNode,
this.autofocus = false,
this.shape,
this.side,
this.isError = false,
}) : super(key: key);