GaugeLabelProvider class abstract

Provides string labels for the RadialGauge.

Implementers

Constructors

GaugeLabelProvider()
const
GaugeLabelProvider.categories(List<LabelCategory> categories, {int fractionDigits})
Returns a label from the matching LabelCategory or a numeric label if no matching category is available.
const
factory
GaugeLabelProvider.map({required ToLabel toLabel})
Maps a numeric value to the label.
const
factory
GaugeLabelProvider.value({int fractionDigits})
Returns a numeric label for the provided value.
const
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getLabel(double value) String
Returns a string label for the specified value.
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