ControlledCheckbox constructor
const
ControlledCheckbox({
- Key? key,
- CheckboxController? controller,
- CheckboxState initialValue = CheckboxState.unchecked,
- ValueChanged<
CheckboxState> ? onChanged, - bool enabled = true,
- Widget? leading,
- Widget? trailing,
- 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,
});