WOISwitchButton constructor
const
WOISwitchButton({
- Key? key,
- WOISwitchStyleModel? activeSwitchStyle,
- WOISwitchStyleModel? inActiveSwitchStyle,
- double? trackHeight = 35,
- double? trackWidth = 70,
- double thumbSize = 25,
- EdgeInsetsGeometry? thumbMargin,
- required bool value,
- required ValueChanged<
bool> onChanged, - double trackBorderRadius = 100,
- double thumbBorderRadius = 100,
Implementation
const WOISwitchButton({
super.key,
this.activeSwitchStyle,
this.inActiveSwitchStyle,
this.trackHeight = 35,
this.trackWidth = 70,
this.thumbSize = 25,
this.thumbMargin,
required this.value,
required this.onChanged,
this.trackBorderRadius = 100,
this.thumbBorderRadius = 100,
});