SfRangeSelectorThemeData.raw constructor

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

Returns a new instance of SfRangeSelectorThemeData for the given values.

Implementation

factory SfRangeSelectorThemeData.raw({
  Brightness? brightness,
  double? activeTrackHeight,
  double? inactiveTrackHeight,
  Size? tickSize,
  Size? minorTickSize,
  Offset? tickOffset,
  Offset? labelOffset,
  TextStyle? inactiveLabelStyle,
  TextStyle? activeLabelStyle,
  TextStyle? tooltipTextStyle,
  Color? inactiveTrackColor,
  Color? activeTrackColor,
  Color? thumbColor,
  Color? thumbStrokeColor,
  Color? overlappingThumbStrokeColor,
  Color? activeDividerStrokeColor,
  Color? inactiveDividerStrokeColor,
  Color? activeTickColor,
  Color? inactiveTickColor,
  Color? disabledActiveTickColor,
  Color? disabledInactiveTickColor,
  Color? activeMinorTickColor,
  Color? inactiveMinorTickColor,
  Color? disabledActiveMinorTickColor,
  Color? disabledInactiveMinorTickColor,
  Color? overlayColor,
  Color? inactiveDividerColor,
  Color? activeDividerColor,
  Color? disabledActiveTrackColor,
  Color? disabledInactiveTrackColor,
  Color? disabledActiveDividerColor,
  Color? disabledInactiveDividerColor,
  Color? disabledThumbColor,
  Color? activeRegionColor,
  Color? inactiveRegionColor,
  Color? tooltipBackgroundColor,
  Color? overlappingTooltipStrokeColor,
  double? trackCornerRadius,
  double? overlayRadius,
  double? thumbRadius,
  double? activeDividerRadius,
  double? inactiveDividerRadius,
  double? thumbStrokeWidth,
  double? activeDividerStrokeWidth,
  double? inactiveDividerStrokeWidth,
}) {
  brightness = brightness ?? Brightness.light;
  activeTrackHeight ??= 6.0;
  inactiveTrackHeight ??= 4.0;
  tickSize ??= const Size(1.0, 8.0);
  minorTickSize ??= const Size(1.0, 5.0);
  overlayRadius ??= 24.0;
  thumbRadius ??= 10.0;

  return SfRangeSelectorThemeData(
      activeTrackHeight: activeTrackHeight,
      inactiveTrackHeight: inactiveTrackHeight,
      tickSize: tickSize,
      minorTickSize: minorTickSize,
      tickOffset: tickOffset,
      labelOffset: labelOffset,
      inactiveLabelStyle: inactiveLabelStyle,
      activeLabelStyle: activeLabelStyle,
      tooltipTextStyle: tooltipTextStyle,
      inactiveTrackColor: inactiveTrackColor,
      activeTrackColor: activeTrackColor,
      inactiveDividerColor: inactiveDividerColor,
      activeDividerColor: activeDividerColor,
      thumbColor: thumbColor,
      thumbStrokeColor: thumbStrokeColor,
      overlappingThumbStrokeColor: overlappingThumbStrokeColor,
      activeDividerStrokeColor: activeDividerStrokeColor,
      inactiveDividerStrokeColor: inactiveDividerStrokeColor,
      overlayColor: overlayColor,
      activeTickColor: activeTickColor,
      inactiveTickColor: inactiveTickColor,
      disabledActiveTickColor: disabledActiveTickColor,
      disabledInactiveTickColor: disabledInactiveTickColor,
      activeMinorTickColor: activeMinorTickColor,
      inactiveMinorTickColor: inactiveMinorTickColor,
      disabledActiveMinorTickColor: disabledActiveMinorTickColor,
      disabledInactiveMinorTickColor: disabledInactiveMinorTickColor,
      disabledActiveTrackColor: disabledActiveTrackColor,
      disabledInactiveTrackColor: disabledInactiveTrackColor,
      disabledActiveDividerColor: disabledActiveDividerColor,
      disabledInactiveDividerColor: disabledInactiveDividerColor,
      disabledThumbColor: disabledThumbColor,
      activeRegionColor: activeRegionColor,
      inactiveRegionColor: inactiveRegionColor,
      tooltipBackgroundColor: tooltipBackgroundColor,
      overlappingTooltipStrokeColor: overlappingTooltipStrokeColor,
      overlayRadius: overlayRadius,
      thumbRadius: thumbRadius,
      activeDividerRadius: activeDividerRadius,
      inactiveDividerRadius: inactiveDividerRadius,
      thumbStrokeWidth: thumbStrokeWidth,
      activeDividerStrokeWidth: activeDividerStrokeWidth,
      inactiveDividerStrokeWidth: inactiveDividerStrokeWidth,
      trackCornerRadius: trackCornerRadius);
}