Skip to content

v3.0.0-alpha.4

Pre-release
Pre-release
Compare
Choose a tag to compare
@xvrh xvrh released this 22 Dec 17:22
· 23 commits to master since this release
08e9678
  • Add backgroundLoading parameter to Lottie.asset|network|file|memory.
    If backgroundLoading is 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 enableRenderCache with renderCache: RenderCache.raster.
    The new class RenderCache allows 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.