AppSwitchCard constructor

const AppSwitchCard({
  1. Key? key,
  2. required String title,
  3. String? activeTxt,
  4. String? disableTxt,
  5. bool? initSwitched,
  6. ValueChanged<bool>? onChanged,
  7. Color? activeColor,
  8. Color? deActiveColor,
  9. Color? activeTxtColor,
  10. Color? activeOptionColor,
  11. EdgeInsetsGeometry? padding,
  12. TextStyle? txtStyle,
})

Implementation

const AppSwitchCard({
  super.key,
  required this.title,
  this.activeTxt,
  this.disableTxt,
  this.initSwitched,
  this.onChanged,
  this.activeColor,
  this.deActiveColor,
  this.activeTxtColor,
  this.activeOptionColor,
  this.padding,
  this.txtStyle,
});