DrivenSwitchStyle constructor
const
DrivenSwitchStyle({
- Size? size,
- EdgeInsetsGeometry? margin,
- EdgeInsetsGeometry? padding,
- Color? trackBorderColor,
- double? trackBorderOpacity,
- int? trackBorderAlpha,
- double? trackBorderWidth,
- BorderRadiusGeometry? trackBorderRadius,
- Color? trackColor,
- double? trackOpacity,
- int? trackAlpha,
- double? trackHeight,
- ShapeBorder? thumbShape,
- Color? thumbColor,
- double? thumbOpacity,
- int? thumbAlpha,
- double? thumbInset,
- double? thumbSize,
- Color? thumbShadow,
- double? thumbElevation,
- Color? overlayColor,
- double? overlayOpacity,
- bool? overlayDisabled,
- double? overlayRadius,
- SwitchStyle? selectedStyle,
- SwitchStyle? indeterminateStyle,
- SwitchStyle? focusedStyle,
- SwitchStyle? hoveredStyle,
- SwitchStyle? pressedStyle,
- SwitchStyle? disabledStyle,
- bool? mergeResolved,
Create a raw of driven switch style
Implementation
const DrivenSwitchStyle({
super.size,
super.margin,
super.padding,
super.trackBorderColor,
super.trackBorderOpacity,
super.trackBorderAlpha,
super.trackBorderWidth,
super.trackBorderRadius,
super.trackColor,
super.trackOpacity,
super.trackAlpha,
super.trackHeight,
super.thumbShape,
super.thumbColor,
super.thumbOpacity,
super.thumbAlpha,
super.thumbInset,
super.thumbSize,
super.thumbShadow,
super.thumbElevation,
super.overlayColor,
super.overlayOpacity,
super.overlayDisabled,
super.overlayRadius,
this.selectedStyle,
this.indeterminateStyle,
this.focusedStyle,
this.hoveredStyle,
this.pressedStyle,
this.disabledStyle,
this.mergeResolved,
});