CustomSwitch constructor

const CustomSwitch({
  1. Key? key,
  2. bool? isjson,
  3. required VoidCallback ontap,
  4. bool switchValue = true,
  5. Color? activeColor,
  6. Color? inActiveColor,
  7. double? switchSize,
  8. Color? switchColor,
})

Implementation

const CustomSwitch({
  super.key,
  this.isjson,
  required this.ontap,
  this.switchValue = true,
  this.activeColor,
  this.inActiveColor,
  this.switchSize,
  this.switchColor,
});