CupertinoSwitch constructor

const CupertinoSwitch({
  1. required bool value,
  2. required ValueChanged<bool>? onChanged,
  3. bool isPlugin = false,
  4. Key? key,
})

Implementation

const CupertinoSwitch(
    {required this.value,
    required this.onChanged,
    this.isPlugin = false,
    Key? key})
    : super(key: key);