PrismCheckbox constructor

const PrismCheckbox({
  1. Key? key,
  2. required bool value,
  3. required ValueChanged<bool>? onChanged,
  4. required String title,
  5. String? subtitle,
  6. bool enabled = true,
  7. bool tristate = false,
})

Creates a checkbox.

Implementation

const PrismCheckbox({
  super.key,
  required this.value,
  required this.onChanged,
  required this.title,
  this.subtitle,
  this.enabled = true,
  this.tristate = false,
});