PriceFormatter class abstract interface

Formats a raw price value into a human-readable string for axis labels, tooltips, and crosshair readouts.

The chart itself has no notion of currency — implementations decide decimal precision, grouping, and any currency prefix/suffix.

Implementers

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

format(double price) String
Formats price into a display string.
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