CupertinoSwitch constructor
const
CupertinoSwitch({
- required bool value,
- required ValueChanged<
bool> ? onChanged, - bool isPlugin = false,
- Key? key,
Implementation
const CupertinoSwitch(
{required this.value,
required this.onChanged,
this.isPlugin = false,
Key? key})
: super(key: key);