Checkbox constructor

const Checkbox({
  1. Key? key,
  2. required bool value,
  3. ValueChanged<bool?>? onChanged,
  4. bool tristate = false,
  5. FocusNode? focusNode,
  6. Color? activeColor,
  7. Color? checkColor,
})

Implementation

const Checkbox({
  super.key,
  required this.value,
  this.onChanged,
  this.tristate = false,
  this.focusNode,
  this.activeColor,
  this.checkColor,
});