VSwitch constructor
const
VSwitch({
- Key? key,
- required bool switchValue,
- bool isDisabled = false,
- required dynamic onPressed()?,
- VSwitchStyle? style,
- VExt? vExt,
Implementation
const VSwitch({
Key? key,
required this.switchValue,
this.isDisabled = false,
required this.onPressed,
this.style,
this.vExt,
}) : super(key: key);