RenderCache class abstract

Constructors

RenderCache()

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

acquire(Object user) → AnimationCache
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
release(Object user) → void
toString() String
A string representation of this object.
inherited

Operators

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

Constants

drawingCommands → const RenderCacheDrawing
The frames are stored as dart:ui.Picture in the cache. It will will spare the CPU work for each frame. The GPU work will be the same as without cache.
raster → const RenderCacheRaster
The frames stored in the cache are fully rasterized. This is the most efficient to render but will use the most memory. This should only be used for very short and very small animations (final size on the screen).