SfSliderThemeData constructor

const SfSliderThemeData({
  1. double activeTrackHeight = 6.0,
  2. double inactiveTrackHeight = 4.0,
  3. Size? tickSize,
  4. Size? minorTickSize,
  5. Offset? tickOffset,
  6. Offset? labelOffset,
  7. TextStyle? inactiveLabelStyle,
  8. TextStyle? activeLabelStyle,
  9. TextStyle? tooltipTextStyle,
  10. Color? inactiveTrackColor,
  11. Color? activeTrackColor,
  12. Color? thumbColor,
  13. Color? thumbStrokeColor,
  14. Color? activeDividerStrokeColor,
  15. Color? inactiveDividerStrokeColor,
  16. Color? activeTickColor,
  17. Color? inactiveTickColor,
  18. Color? disabledActiveTickColor,
  19. Color? disabledInactiveTickColor,
  20. Color? activeMinorTickColor,
  21. Color? inactiveMinorTickColor,
  22. Color? disabledActiveMinorTickColor,
  23. Color? disabledInactiveMinorTickColor,
  24. Color? overlayColor,
  25. Color? inactiveDividerColor,
  26. Color? activeDividerColor,
  27. Color? disabledActiveTrackColor,
  28. Color? disabledInactiveTrackColor,
  29. Color? disabledActiveDividerColor,
  30. Color? disabledInactiveDividerColor,
  31. Color? disabledThumbColor,
  32. Color? tooltipBackgroundColor,
  33. double? trackCornerRadius,
  34. double overlayRadius = 24.0,
  35. double thumbRadius = 10.0,
  36. double? activeDividerRadius,
  37. double? inactiveDividerRadius,
  38. double? thumbStrokeWidth,
  39. double? activeDividerStrokeWidth,
  40. double? inactiveDividerStrokeWidth,
})

Creating an argument constructor of SfSliderThemeData class.

Implementation

const SfSliderThemeData({
  this.activeTrackHeight = 6.0,
  this.inactiveTrackHeight = 4.0,
  this.tickSize,
  this.minorTickSize,
  this.tickOffset,
  this.labelOffset,
  this.inactiveLabelStyle,
  this.activeLabelStyle,
  this.tooltipTextStyle,
  this.inactiveTrackColor,
  this.activeTrackColor,
  this.thumbColor,
  this.thumbStrokeColor,
  this.activeDividerStrokeColor,
  this.inactiveDividerStrokeColor,
  this.activeTickColor,
  this.inactiveTickColor,
  this.disabledActiveTickColor,
  this.disabledInactiveTickColor,
  this.activeMinorTickColor,
  this.inactiveMinorTickColor,
  this.disabledActiveMinorTickColor,
  this.disabledInactiveMinorTickColor,
  this.overlayColor,
  this.inactiveDividerColor,
  this.activeDividerColor,
  this.disabledActiveTrackColor,
  this.disabledInactiveTrackColor,
  this.disabledActiveDividerColor,
  this.disabledInactiveDividerColor,
  this.disabledThumbColor,
  this.tooltipBackgroundColor,
  this.trackCornerRadius,
  this.overlayRadius = 24.0,
  this.thumbRadius = 10.0,
  this.activeDividerRadius,
  this.inactiveDividerRadius,
  this.thumbStrokeWidth,
  this.activeDividerStrokeWidth,
  this.inactiveDividerStrokeWidth,
});