ControlledCheckbox constructor

const ControlledCheckbox({
  1. Key? key,
  2. CheckboxController? controller,
  3. CheckboxState initialValue = CheckboxState.unchecked,
  4. ValueChanged<CheckboxState>? onChanged,
  5. bool enabled = true,
  6. Widget? leading,
  7. Widget? trailing,
  8. bool tristate = false,
})

Implementation

const ControlledCheckbox({
  super.key,
  this.controller,
  this.initialValue = CheckboxState.unchecked,
  this.onChanged,
  this.enabled = true,
  this.leading,
  this.trailing,
  this.tristate = false,
});