PlatformCheckbox constructor

PlatformCheckbox({
  1. required ValueChanged<bool?>? onChanged,
  2. Key? key,
  3. Key? widgetKey,
  4. bool? value,
  5. bool tristate = false,
  6. Color? activeColor,
  7. Color? checkColor,
  8. Color? focusColor,
  9. FocusNode? focusNode,
  10. bool autofocus = false,
  11. OutlinedBorder? shape,
  12. BorderSide? side,
  13. PlatformBuilder<MaterialCheckboxData>? material,
  14. 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,
});