GaugeChartBackgroundStyle class
Contains various customization options for the background of the chart.
Constructors
- GaugeChartBackgroundStyle({Color color = const Color(0x33FFFFFF), Color shadowColor = const Color(0x40000000), double shadowElevation = 4, Color? borderColor, Gradient? borderGradient, double borderStroke = 1})
-
Constructs an instance of GaugeChartBackgroundStyle.
const
Properties
- backgroundPaint → Paint
-
Gets a Paint for the gauge background.
no setter
- borderColor → Color?
-
Border color of the gauge background.
final
- borderFilled → bool
-
Gets whether border can be drawn or not.
no setter
- borderGradient → Gradient?
-
Border gradient of the gauge background.
final
- borderStroke → double
-
Border stroke (width) of the gauge background.
final
- color → Color
-
Color of the gauge background.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shadowColor → Color
-
Color of the gauge shadow.
final
- shadowElevation → double
-
Elevation of the gauge shadow.
final
Methods
-
copyWith(
{bool allowNullBorderColor = false, bool allowNullBorderGradient = false, Color? color, Color? shadowColor, double? shadowElevation, Color? borderColor, Gradient? borderGradient, double? borderStroke}) → GaugeChartBackgroundStyle - Creates a copy of the current object with new values specified in arguments.
-
getBorderPaint(
[Rect? bounds]) → Paint - Gets a Paint for the border drawing.
-
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.
override