ChartLabeledState class
- Inheritance
-
- Object
- Listenable
- ChartState
- AnimatedChartState
- ChartLabeledState
Constructors
-
ChartLabeledState.new({required ChartContext<
DrivenChart> context, required ChartLabeledData initialData})
Properties
- animation → ChartAnimation
-
no setter
-
animationMap
→ HashMap<
String, ({AnimationController controller, Curve curve, Tween< double> tween})> -
finalinherited
-
context
→ ChartContext<
DrivenChart> -
final
- data ↔ ChartLabeledData
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hover → double
-
no setter
- hoverAnimTarget ↔ double
-
getter/setter pair
- key → dynamic
-
Returns the key for comparing about the chart state.
no setteroverride
-
listeners
→ ObserverList<
VoidCallback> -
finalinherited
- position ↔ ChartPosition?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → double
-
Returns the value for about the chart data.
no setteroverride
- vsync → TickerProvider
-
finalinherited
Methods
-
addListener(
VoidCallback listener) → void -
Register a closure to be called when the object notifies its listeners.
inherited
-
animateTo(
String key, double from, double to, Duration duration, Curve curve) → void -
inherited
-
animationValueOf(
String key) → double? -
inherited
-
hitTest(
Offset point) → bool -
Returns whether a given offset fits the chart position.
override
-
hoverEnd(
) → void -
hoverStart(
) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyListeners(
) → void -
inherited
-
removeListener(
VoidCallback listener) → void -
Remove a previously registered closure from the list of closures that the
object notifies.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateTo(
ChartLabeledData given) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited