GraphStyleSpec constructor

const GraphStyleSpec({
  1. Color background = const Color(0xFFFFFFFF),
  2. Color grid = const Color(0x14000000),
  3. Color text = const Color(0xFF6B7280),
  4. Color crosshair = const Color(0xFF9CA3AF),
  5. Color tag = const Color(0xFF111827),
  6. Color tagText = const Color(0xFFFFFFFF),
  7. Color separator = const Color(0x1F000000),
  8. double fontSize = 11,
  9. String? fontFamily,
  10. List<String> fontFamilyFallback = const [],
  11. double topInset = 0,
  12. Color ink = const Color(0xFF111827),
  13. List<Color> palette = graphPalette,
  14. Color tooltip = const Color(0xFFFFFFFF),
  15. Color tooltipText = const Color(0xFF111827),
  16. 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),
});