AppSwitch constructor

const AppSwitch({
  1. bool value = false,
  2. FutureOr<bool?> onChanged(
    1. bool
    )?,
  3. AppSwitchLabels? labels,
  4. Key? key,
})

Implementation

const AppSwitch({
  this.value = false,
  this.onChanged,
  this.labels,
  super.key,
});