SfGaugeThemeData constructor
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,
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);
}