PlatformCheckbox constructor
PlatformCheckbox({
- required ValueChanged<
bool?> ? onChanged, - Key? key,
- Key? widgetKey,
- bool? value,
- bool tristate = false,
- Color? activeColor,
- Color? checkColor,
- Color? focusColor,
- FocusNode? focusNode,
- bool autofocus = false,
- OutlinedBorder? shape,
- BorderSide? side,
- PlatformBuilder<
MaterialCheckboxData> ? material, - PlatformBuilder<
CupertinoCheckboxData> ? cupertino,
Implementation
PlatformCheckbox({
required this.onChanged,
//Common
super.key,
this.widgetKey,
this.value,
this.tristate = false,
this.activeColor,
this.checkColor,
this.focusColor,
this.focusNode,
this.autofocus = false,
this.shape,
this.side,
//Platform
this.material,
this.cupertino,
});