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