SfSliderThemeData.raw constructor Null safety

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

Create a SfSliderThemeData given a set of exact values. All the values must be specified.

This will rarely be used directly. It is used by lerp to create intermediate themes based on two themes created with the SfSliderThemeData constructor.

Implementation

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