OptionSwitch constructor

const OptionSwitch({
  1. Key? key,
  2. required String label,
  3. required bool initialValue,
  4. void onChanged(
    1. bool
    )?,
})

Implementation

const OptionSwitch({
  super.key,
  required this.label,
  required this.initialValue,
  this.onChanged,
});