Checkbox constructor
const
Checkbox({
- Key? key,
- double padding = 8,
- required CheckboxState state,
- required ValueChanged<
CheckboxState> ? onChanged, - Widget? leading,
- Widget? trailing,
- bool tristate = false,
Implementation
const Checkbox({
super.key,
this.padding = 8,
required this.state,
required this.onChanged,
this.leading,
this.trailing,
this.tristate = false,
});