AtomSwitch constructor

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

Implementation

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