Checkbox constructor

const Checkbox({
  1. Key? key,
  2. num? size,
  3. Widget? description,
  4. double? spacing,
  5. num? padding,
  6. double? borderWidth,
  7. required bool value,
  8. ValueChanged<bool>? onChanged,
  9. Color? unselectedBGColor,
  10. Color? unselectedBorderColor,
  11. Color? selectedBGColor,
  12. Color? selectedBorderColor,
  13. Color? checkColor,
})

Implementation

const Checkbox({
  Key? key,
  this.size,
  this.description,
  this.spacing,
  this.padding,
  this.borderWidth,
  required this.value,
  this.onChanged,
  this.unselectedBGColor,
  this.unselectedBorderColor,
  this.selectedBGColor,
  this.selectedBorderColor,
  this.checkColor,
}) : super(key: key);