DrivenSwitchStyle constructor

const DrivenSwitchStyle({
  1. Size? size,
  2. EdgeInsetsGeometry? margin,
  3. EdgeInsetsGeometry? padding,
  4. Color? trackBorderColor,
  5. double? trackBorderOpacity,
  6. int? trackBorderAlpha,
  7. double? trackBorderWidth,
  8. BorderRadiusGeometry? trackBorderRadius,
  9. Color? trackColor,
  10. double? trackOpacity,
  11. int? trackAlpha,
  12. double? trackHeight,
  13. ShapeBorder? thumbShape,
  14. Color? thumbColor,
  15. double? thumbOpacity,
  16. int? thumbAlpha,
  17. double? thumbInset,
  18. double? thumbSize,
  19. Color? thumbShadow,
  20. double? thumbElevation,
  21. Color? overlayColor,
  22. double? overlayOpacity,
  23. bool? overlayDisabled,
  24. double? overlayRadius,
  25. SwitchStyle? selectedStyle,
  26. SwitchStyle? indeterminateStyle,
  27. SwitchStyle? focusedStyle,
  28. SwitchStyle? hoveredStyle,
  29. SwitchStyle? pressedStyle,
  30. SwitchStyle? disabledStyle,
  31. 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,
});