Checkbox constructor

const Checkbox({
  1. Key? key,
  2. double padding = 8,
  3. required CheckboxState state,
  4. required ValueChanged<CheckboxState>? onChanged,
  5. Widget? leading,
  6. Widget? trailing,
  7. bool tristate = false,
})

Implementation

const Checkbox({
  super.key,
  this.padding = 8,
  required this.state,
  required this.onChanged,
  this.leading,
  this.trailing,
  this.tristate = false,
});