Repository navigation
v3.0.0-alpha.4
Pre-release
Pre-release
-
Add
backgroundLoadingparameter toLottie.asset|network|file|memory.
IfbackgroundLoadingis true, the animation will be loaded in a background isolate.
This is useful for large animations that can take a long time to parse and block the UI work. -
Replace
enableRenderCachewithrenderCache: RenderCache.raster.
The new classRenderCacheallows to specify the cache behaviour:RenderCache.raster: Cache the frames as rasterized images living in the GPU memory.RenderCache.drawingCommands: Cache the frames as a list of graphical operations. This will only save CPU
work but will use a lot less memory.