BasicSwitch constructor

const BasicSwitch({
  1. required bool value,
  2. required ValueChanged<bool> onChanged,
  3. Key? key,
})

Implementation

const BasicSwitch({
  required this.value,
  required this.onChanged,
  super.key,
});