MySwitchTitleBuilder constructor

MySwitchTitleBuilder({
  1. Key? key,
  2. double? SwitchHeight,
  3. double? SwitchWidth,
  4. required Color? BackLayerColorOn,
  5. required List dataList,
  6. required Color? BackLayerColorOff,
  7. required Color? BallColorOff,
  8. required Color? BallColorOn,
  9. Icon? OffIconBall,
  10. Icon? ONIconBall,
  11. double? SwitchHeight2,
  12. double? SwitchWidth2,
  13. Color? colorcmaker2,
  14. dynamic onChange(
    1. List NewList
    )?,
  15. Color? Cardcolorincmaker2,
  16. TextStyle? style,
  17. EdgeInsetsGeometry? marginInRowCard,
  18. EdgeInsetsGeometry? paddingInRowCard,
  19. EdgeInsetsGeometry? paddingInRowCard2,
})

Implementation

MySwitchTitleBuilder({
  super.key,
  this.SwitchHeight,
  this.SwitchWidth,
  required this.BackLayerColorOn,
  required this.dataList,
  required this.BackLayerColorOff,
  required this.BallColorOff,
  required this.BallColorOn,
  this.OffIconBall,
  this.ONIconBall,
  this.SwitchHeight2,
  this.SwitchWidth2,
  this.colorcmaker2,
  this.onChange,
  this.Cardcolorincmaker2,
  this.style,
  this.marginInRowCard,
  this.paddingInRowCard,
  this.paddingInRowCard2,
});