HorizontalGaugeTheme class
HorizontalGaugeTheme defines the visual properties of the horizontal gauge.
Constructors
-
HorizontalGaugeTheme.new({Color? backgroundColor, Color? borderColor, Color? titleColor, Color? valueColor, Color? unitColor, Color? tickColor, Color? majorTickColor, Color? labelColor, Color? indicatorColor, Color? indicatorShadowColor, TextStyle? titleStyle, TextStyle? valueStyle, TextStyle? unitStyle, TextStyle? labelStyle, double? indicatorWidth, double? indicatorHeight, double? tickHeight, double? majorTickHeight, BorderRadius? indicatorBorderRadius, List<
BoxShadow> ? indicatorShadows, Gradient? backgroundGradient, Gradient? indicatorGradient}) -
const
Properties
- 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
- hashCode → int
-
The hash code for this object.
no setterinherited
- indicatorBorderRadius → BorderRadius?
-
indicatorBorderRadius is the border radius of the gauge's indicator.
final
- indicatorColor → Color?
-
indicatorColor is the color of the gauge's indicator.
final
- indicatorGradient → Gradient?
-
indicatorGradient is the gradient of the gauge's indicator.
final
- indicatorHeight → double?
-
indicatorHeight is the height of the gauge's indicator.
final
- indicatorShadowColor → Color?
-
indicatorShadowColor is the color of the gauge's indicator shadow.
final
-
indicatorShadows
→ List<
BoxShadow> ? -
indicatorShadows are the shadows of the gauge's indicator.
final
- indicatorWidth → double?
-
indicatorWidth is the width of the gauge's indicator.
final
- 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
- majorTickHeight → double?
-
majorTickHeight is the height of the gauge's major ticks.
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
- tickHeight → double?
-
tickHeight is the height 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? indicatorColor, Color? indicatorShadowColor, TextStyle? titleStyle, TextStyle? valueStyle, TextStyle? unitStyle, TextStyle? labelStyle, double? indicatorWidth, double? indicatorHeight, double? tickHeight, double? majorTickHeight, BorderRadius? indicatorBorderRadius, List< BoxShadow> ? indicatorShadows, Gradient? backgroundGradient, Gradient? indicatorGradient}) → HorizontalGaugeTheme -
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