GaugeChartData class

Data for the GaugeChart.

Constructors

GaugeChartData({required List<double> data, int? selectedIndex, IndexedPredicate? onSelectionChanged})
Constructs an instance of GaugeChartData.
const

Properties

data List<double>
List of the section values.
final
hashCode int
The hash code for this object.
no setteroverride
onSelectionChanged IndexedPredicate?
Callbacks that reports that selected section index has changed.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedIndex int?
Index of the selected section.
final
total double
Gets total value of data.
no setter

Methods

copyWith({bool allowNullSelectedIndex = false, List<double>? data, int? selectedIndex, IndexedPredicate? onSelectionChanged}) GaugeChartData
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