CustomSwitch constructor

const CustomSwitch({
  1. Key? key,
  2. required bool isActive,
  3. required dynamic onChanged(
    1. bool
    ),
  4. bool isDoubleOption = false,
})

Implementation

const CustomSwitch(
    {super.key,
    required this.isActive,
    required this.onChanged,
    this.isDoubleOption = false});