GraphLegendKey class

One key of a legend: a color, what it is called and (a slice's) its share, and where it is drawn.

Constructors

GraphLegendKey(Color color, String label, String value, [Rect box = Rect.zero])
const

Properties

box → Rect
The key's box in the graph's own pixels: its dot at the left, its label after it, its value against the right edge.
final
color → Color
final
hashCode → int
The hash code for this object.
no setterinherited
label → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → String
final

Methods

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