TCheckBox constructor

const TCheckBox({
  1. Key? key,
  2. required bool initialValue,
  3. required ValueChanged<bool> onChanged,
  4. Color? activeColor,
  5. Color? inactiveColor,
  6. Color? borderColor,
  7. String? label,
  8. String? description,
  9. String? error,
  10. bool isEnabled = true,
  11. bool isError = false,
})

Implementation

const TCheckBox({
  super.key,
  required this.initialValue,
  required this.onChanged,
  this.activeColor,
  this.inactiveColor,
  this.borderColor,
  this.label,
  this.description,
  this.error,
  this.isEnabled = true,
  this.isError = false,
});