GraphStyleSpec class

Constructors

GraphStyleSpec({Color background = const Color(0xFFFFFFFF), Color grid = const Color(0x14000000), Color text = const Color(0xFF6B7280), Color crosshair = const Color(0xFF9CA3AF), Color tag = const Color(0xFF111827), Color tagText = const Color(0xFFFFFFFF), Color separator = const Color(0x1F000000), double fontSize = 11, String? fontFamily, List<String> fontFamilyFallback = const [], double topInset = 0, Color ink = const Color(0xFF111827), List<Color> palette = graphPalette, Color tooltip = const Color(0xFFFFFFFF), Color tooltipText = const Color(0xFF111827), Color tooltipBorder = const Color(0x1F000000)})
const
GraphStyleSpec.fromJson(Json j)
factory

Properties

background → Color
final
crosshair → Color
final
fontFamily → String?
final
fontFamilyFallback → List<String>
The families a character fontFamily lacks is drawn in, in order (the host's: its symbol fonts, a family's later files).
final
fontSize → double
final
grid → Color
final
hashCode → int
The hash code for this object.
no setterinherited
ink → Color
A figure written large (the one in a donut's hole).
final
palette → List<Color>
The colors of the marks that write none, in turn (and of an arc's slices and a legend's keys).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
separator → Color
final
tag → Color
final
tagText → Color
final
text → Color
final
tooltip → Color
A tooltip: its ground (a surface over the graph), its text and the line round it.
final
tooltipBorder → Color
A tooltip: its ground (a surface over the graph), its text and the line round it.
final
tooltipText → Color
A tooltip: its ground (a surface over the graph), its text and the line round it.
final
topInset → double
Room above the panes (for a crosshair's time written on top).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Json
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited