VSwitch constructor

const VSwitch({
  1. Key? key,
  2. required bool switchValue,
  3. bool isDisabled = false,
  4. required dynamic onPressed()?,
  5. VSwitchStyle? style,
  6. VExt? vExt,
})

Implementation

const VSwitch({
  Key? key,
  required this.switchValue,
  this.isDisabled = false,
  required this.onPressed,
  this.style,
  this.vExt,
}) : super(key: key);