JxSwitch constructor

const JxSwitch({
  1. required String id,
  2. required String label,
  3. String? name,
  4. bool checked = false,
  5. bool disabled = false,
  6. ValueChanged<bool>? onChange,
  7. String? classes,
  8. Key? key,
})

Implementation

const JxSwitch({
  required this.id,
  required this.label,
  this.name,
  this.checked = false,
  this.disabled = false,
  this.onChange,
  this.classes,
  super.key,
});