GraphStyleSpec constructor
const
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),
Implementation
const GraphStyleSpec({
this.background = const Color(0xFFFFFFFF),
this.grid = const Color(0x14000000),
this.text = const Color(0xFF6B7280),
this.crosshair = const Color(0xFF9CA3AF),
this.tag = const Color(0xFF111827),
this.tagText = const Color(0xFFFFFFFF),
this.separator = const Color(0x1F000000),
this.fontSize = 11,
this.fontFamily,
this.fontFamilyFallback = const [],
this.topInset = 0,
this.ink = const Color(0xFF111827),
this.palette = graphPalette,
this.tooltip = const Color(0xFFFFFFFF),
this.tooltipText = const Color(0xFF111827),
this.tooltipBorder = const Color(0x1F000000),
});