VCheckbox constructor

const VCheckbox({
  1. Key? key,
  2. required ValueChanged<bool> onChange,
  3. bool value = false,
  4. bool enabled = true,
  5. bool leadingLabel = false,
  6. String? label,
  7. String? hint,
  8. String? error,
  9. double? width,
  10. double? size = 20,
})

Implementation

const VCheckbox({
  super.key,
  required this.onChange,
  this.value = false,
  this.enabled = true,
  this.leadingLabel = false,
  this.label,
  this.hint,
  this.error,
  this.width,
  this.size = 20,
});