SfGaugeThemeData.raw constructor

SfGaugeThemeData.raw({
  1. Brightness? brightness,
  2. Color backgroundColor = Colors.transparent,
  3. Color? titleColor,
  4. Color? axisLabelColor,
  5. Color? axisLineColor,
  6. Color? majorTickColor,
  7. Color? minorTickColor,
  8. Color? markerColor,
  9. Color markerBorderColor = Colors.transparent,
  10. Color? needleColor,
  11. Color? knobColor,
  12. Color knobBorderColor = Colors.transparent,
  13. Color? tailColor,
  14. Color tailBorderColor = Colors.transparent,
  15. Color? rangePointerColor,
  16. Color? rangeColor,
  17. Color titleBorderColor = Colors.transparent,
  18. Color titleBackgroundColor = Colors.transparent,
  19. TextStyle? titleTextStyle,
  20. TextStyle? axisLabelTextStyle,
  21. TextStyle? markerTextStyle,
})

Create a SfGaugeThemeData given a set of exact values.

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

Implementation

factory SfGaugeThemeData.raw({
  Brightness? brightness,
  Color backgroundColor = Colors.transparent,
  Color? titleColor,
  Color? axisLabelColor,
  Color? axisLineColor,
  Color? majorTickColor,
  Color? minorTickColor,
  Color? markerColor,
  Color markerBorderColor = Colors.transparent,
  Color? needleColor,
  Color? knobColor,
  Color knobBorderColor = Colors.transparent,
  Color? tailColor,
  Color tailBorderColor = Colors.transparent,
  Color? rangePointerColor,
  Color? rangeColor,
  Color titleBorderColor = Colors.transparent,
  Color titleBackgroundColor = Colors.transparent,
  TextStyle? titleTextStyle,
  TextStyle? axisLabelTextStyle,
  TextStyle? markerTextStyle,
}) {
  brightness = brightness ?? Brightness.light;
  return SfGaugeThemeData(
      backgroundColor: backgroundColor,
      titleColor: titleColor,
      axisLabelColor: axisLabelColor,
      axisLineColor: axisLineColor,
      majorTickColor: majorTickColor,
      minorTickColor: minorTickColor,
      markerColor: markerColor,
      markerBorderColor: markerBorderColor,
      needleColor: needleColor,
      knobColor: knobColor,
      knobBorderColor: knobBorderColor,
      tailColor: tailColor,
      tailBorderColor: tailBorderColor,
      rangePointerColor: rangePointerColor,
      rangeColor: rangeColor,
      titleBorderColor: titleBorderColor,
      titleBackgroundColor: titleBackgroundColor,
      titleTextStyle: titleTextStyle,
      axisLabelTextStyle: axisLabelTextStyle,
      markerTextStyle: markerTextStyle);
}