Checkbox constructor

const Checkbox({
  1. Key? key,
  2. required bool value,
  3. required ValueChanged<bool>? onChanged,
  4. String? label,
  5. Color? activeColor,
  6. String? semanticsLabel,
  7. bool enabled = true,
})

Implementation

const Checkbox({
  super.key,
  required this.value,
  required this.onChanged,
  this.label,
  this.activeColor,
  this.semanticsLabel,
  this.enabled = true,
});