FlutstrapCheckbox constructor

const FlutstrapCheckbox({
  1. Key? key,
  2. required bool? value,
  3. ValueChanged<bool?>? onChanged,
  4. FSCheckboxVariant variant = FSCheckboxVariant.primary,
  5. FSCheckboxSize size = FSCheckboxSize.md,
  6. String? label,
  7. Widget? customLabel,
  8. bool disabled = false,
  9. bool inline = false,
  10. String? semanticLabel,
  11. bool showValidation = false,
  12. bool isValid = true,
  13. String? validationMessage,
  14. bool tristate = false,
  15. Color? activeColor,
  16. Color? checkColor,
  17. VisualDensity? visualDensity,
  18. EdgeInsetsGeometry? padding,
})

Implementation

const FlutstrapCheckbox({
  super.key,
  required this.value,
  this.onChanged,
  this.variant = FSCheckboxVariant.primary,
  this.size = FSCheckboxSize.md,
  this.label,
  this.customLabel,
  this.disabled = false,
  this.inline = false,
  this.semanticLabel,
  this.showValidation = false,
  this.isValid = true,
  this.validationMessage,
  this.tristate = false,
  this.activeColor,
  this.checkColor,
  this.visualDensity,
  this.padding,
});