CustomSwitch constructor

const CustomSwitch({
  1. Key? key,
})

Implementation

const CustomSwitch({Key? key}) : super(key: key);