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