GaugeChartSectionStyle class
Contains various customization options for the section of the chart.
Constructors
-
GaugeChartSectionStyle({List<
Color> colors = const [Color(0x80FFFFFF)], Color selectedColor = const Color(0xFFFFFFFF), Color selectedBorderColor = const Color(0xFFAAAAAA), double selectedBorderStroke = 4}) -
Constructs an instance of GaugeChartSectionStyle.
const
Properties
-
colors
→ List<
Color> -
Colors of the gauge sections.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sectionPaint → Paint
-
Gets a Paint for the gauge section.
no setter
- selectedBorderColor → Color
-
Color of the selected gauge section border.
final
- selectedBorderStroke → double
-
Stroke of the selected gauge section border.
final
- selectedColor → Color
-
Color of the selected gauge section.
final
- selectedSectionBorderPaint → Paint
-
Gets a Paint for the selected gauge section border.
no setter
- selectedSectionPaint → Paint
-
Gets a Paint for the selected gauge section.
no setter
Methods
-
copyWith(
{List< Color> ? colors, Color? selectedColor, Color? selectedBorderColor, double? selectedBorderStroke}) → GaugeChartSectionStyle - Creates a copy of the current object with new values specified in arguments.
-
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