ZeroSwitchIOS constructor

const ZeroSwitchIOS({
  1. Key? key,
  2. ZeroSwitchStyle? style,
  3. required ValueChanged<bool> onChanged,
  4. bool value = false,
  5. bool isDisabled = false,
  6. Icon? activeIcon,
  7. Icon? inactiveIcon,
})

Implementation

const ZeroSwitchIOS({
  super.key,
  this.style,
  required this.onChanged,
  this.value = false,
  this.isDisabled = false,
  this.activeIcon,
  this.inactiveIcon,
});