ZeroSwitchIOS constructor
const
ZeroSwitchIOS({
- Key? key,
- ZeroSwitchStyle? style,
- required ValueChanged<
bool> onChanged, - bool value = false,
- bool isDisabled = false,
- Icon? activeIcon,
- Icon? inactiveIcon,
Implementation
const ZeroSwitchIOS({
super.key,
this.style,
required this.onChanged,
this.value = false,
this.isDisabled = false,
this.activeIcon,
this.inactiveIcon,
});