GaugeChartSettings class

Set of settings of the GaugeChart.

Constructors

GaugeChartSettings({List<int>? colorPattern, double sectionStroke = 30, double selectedSectionStroke = 38, double gaugeAngle = 180, bool debugMode = false, bool selectionEnabled = true, HitTestBehavior behavior = HitTestBehavior.deferToChild, bool runInitialAnimation = false})
Constructs an instance of GaugeChartSettings.
const

Properties

behavior HitTestBehavior
How this chart should behave during hit testing.
final
colorPattern List<int>?
Pattern which colors will respect while getting from colors field.
final
debugMode bool
Whether debug mode is enabled or not.
final
gaugeAngle double
Angle of gauge.
final
hashCode int
The hash code for this object.
no setteroverride
runInitialAnimation bool
Whether to show initial selection animation or not.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sectionStroke double
Stroke (width/size) of the gauge section.
final
selectedSectionStroke double
Stroke (width/size) of the selected gauge section.
final
selectionEnabled bool
Whether interactive section selection is enabled or not.
final

Methods

copyWith({bool allowNullColorPattern = false, List<int>? colorPattern, double? sectionStroke, double? selectedSectionStroke, double? gaugeAngle, bool? debugMode, bool? selectionEnabled, HitTestBehavior? behavior, bool? runInitialAnimation}) GaugeChartSettings
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