ChartCache class
Performance cache for chart rendering
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Static Methods
-
clearCache(
) → void - Clear all caches (call when memory is low)
-
clearPathCache(
) → void - Clear specific cache type
-
clearShaderCache(
) → void -
getPaint(
{required Color color, double? strokeWidth, PaintingStyle? style, StrokeCap? strokeCap, StrokeJoin? strokeJoin, MaskFilter? maskFilter}) → Paint - Get or create a Paint object
-
getTextPainter(
{required String text, required TextStyle style}) → TextPainter - Get or create a TextPainter