core/chart_cache library

Classes

ChartObjectCacheStats
Shared hit/miss/eviction snapshot for lightweight render-object caches.
ChartRenderCacheStats
Combined diagnostics for the global render-object caches.
ColorCache
Parses and caches Color objects from string representations.
PaintCache
PathCache
Caches pre-computed ui.Path objects to avoid rebuilding them on every paint() call when the underlying data has not changed.
TextPainterCache
Caches TextPainter layout results with bounded LRU eviction.

Functions

clearChartRenderCaches({bool resetMetrics = true}) → void
resetChartRenderCacheStats() → void
resolveColor(String? raw, Color fallback) Color
Resolve a nullable color string with a fallback.