CustomSwitch constructor

const CustomSwitch({
  1. Key? key,
  2. required RxBool isOn,
  3. required dynamic onChanged(
    1. bool
    ),
})

Implementation

const CustomSwitch({super.key, required this.isOn, required this.onChanged});