SfGaugeThemeData constructor

SfGaugeThemeData({
  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,
})

Initialize the gauge theme data

Implementation

factory SfGaugeThemeData({
  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,
}) {
  return SfGaugeThemeData.raw(
      brightness: brightness,
      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);
}