CircularGaugeTheme class

CircularGaugeTheme defines the visual properties of the circular gauge.

Constructors

CircularGaugeTheme.new({Color? backgroundColor, Color? borderColor, Color? titleColor, Color? valueColor, Color? unitColor, Color? tickColor, Color? majorTickColor, Color? labelColor, Color? needleColor, Color? centerDotColor, Color? arcColor, Color? progressColor, TextStyle? titleStyle, TextStyle? valueStyle, TextStyle? unitStyle, TextStyle? labelStyle, double? needleWidth, double? centerDotRadius, double? arcStrokeWidth, double? progressStrokeWidth, Gradient? backgroundGradient, Gradient? needleGradient, Gradient? progressGradient})
const

Properties

arcColor Color?
arcColor is the color of the gauge's arc background.
final
arcStrokeWidth double?
arcStrokeWidth is the stroke width of the gauge's arc.
final
backgroundColor Color?
backgroundColor is the color of the gauge's background.
final
backgroundGradient Gradient?
backgroundGradient is the gradient of the gauge's background.
final
borderColor Color?
borderColor is the color of the gauge's border.
final
centerDotColor Color?
centerDotColor is the color of the gauge's center dot.
final
centerDotRadius double?
centerDotRadius is the radius of the gauge's center dot.
final
hashCode int
The hash code for this object.
no setterinherited
labelColor Color?
labelColor is the color of the gauge's labels.
final
labelStyle TextStyle?
labelStyle is the text style of the gauge's labels.
final
majorTickColor Color?
majorTickColor is the color of the gauge's major ticks.
final
needleColor Color?
needleColor is the color of the gauge's needle.
final
needleGradient Gradient?
needleGradient is the gradient of the gauge's needle.
final
needleWidth double?
needleWidth is the width of the gauge's needle.
final
progressColor Color?
progressColor is the color of the gauge's progress arc.
final
progressGradient Gradient?
progressGradient is the gradient of the gauge's progress arc.
final
progressStrokeWidth double?
progressStrokeWidth is the stroke width of the gauge's progress arc.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tickColor Color?
tickColor is the color of the gauge's ticks.
final
titleColor Color?
titleColor is the color of the gauge's title.
final
titleStyle TextStyle?
titleStyle is the text style of the gauge's title.
final
unitColor Color?
unitColor is the color of the gauge's unit.
final
unitStyle TextStyle?
unitStyle is the text style of the gauge's unit.
final
valueColor Color?
valueColor is the color of the gauge's value.
final
valueStyle TextStyle?
valueStyle is the text style of the gauge's value.
final

Methods

copyWith({Color? backgroundColor, Color? borderColor, Color? titleColor, Color? valueColor, Color? unitColor, Color? tickColor, Color? majorTickColor, Color? labelColor, Color? needleColor, Color? centerDotColor, Color? arcColor, Color? progressColor, TextStyle? titleStyle, TextStyle? valueStyle, TextStyle? unitStyle, TextStyle? labelStyle, double? needleWidth, double? centerDotRadius, double? arcStrokeWidth, double? progressStrokeWidth, Gradient? backgroundGradient, Gradient? needleGradient, Gradient? progressGradient}) CircularGaugeTheme
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited