AppSwitch constructor

const AppSwitch({
  1. Key? key,
  2. required bool value,
  3. ValueChanged<bool>? onChanged,
  4. String? label,
  5. bool enabled = true,
  6. bool showIcon = false,
})

Implementation

const AppSwitch({
  super.key,
  required this.value,
  this.onChanged,
  this.label,
  this.enabled = true,
  this.showIcon = false,
});