Checkbox constructor

const Checkbox({
  1. Key? key,
  2. CheckboxController? controller,
  3. Widget? child,
  4. bool autoFocus = false,
  5. bool checked = false,
  6. bool defaultChecked = false,
  7. bool disabled = false,
  8. bool indeterminate = false,
  9. void onChange()?,
})

Implementation

const Checkbox({
  Key? key,
  this.controller,
  this.child,
  this.autoFocus = false,
  this.checked = false,
  this.defaultChecked = false,
  this.disabled = false,
  this.indeterminate = false,
  this.onChange,
}) : super(key: key);