MySwitch constructor
MySwitch({
- Key? key,
- double? SwitchHeight,
- double? SwitchWidth,
- Color? BackLayerColorOn,
- required Color? BackLayerColorOff,
- required Color? BallColorOff,
- required Color? BallColorOn,
- Icon? OffIconBall,
- Icon? ONIconBall,
- double? SwitchHeight2,
- double? SwitchWidth2,
- Color? colorcmaker2,
- dynamic onChange(
- bool value
- Widget? child,
Implementation
MySwitch({
super.key,
this.SwitchHeight,
this.SwitchWidth,
this.BackLayerColorOn,
required this.BackLayerColorOff,
required this.BallColorOff,
required this.BallColorOn,
this.OffIconBall,
this.ONIconBall,
this.SwitchHeight2,
this.SwitchWidth2,
this.colorcmaker2,
this.onChange,
this.child,
});