Load and use external remote asset
I want to load the Welcome screen dynamically using A/B testing, meaning the Flare file will be load from the network. I know I can download a file, but Flare is allowing to load the file only from assets folder (AssetBundle). the file location is like "assets/filename.flr". I search in the docs and can't find how to load from other application storage than the "assets" folder. want to load from the cache folder. Any example of how to do it or is it possible in Flutter?
To my knowledge this isn't something you can do yet with Flare-Flutter, I know I've seen a couple of posts on similar issues by the developer saying this is something they want to handle but currently it doesn't
I believe this is a duplicate of https://github.com/2d-inc/Flare-Flutter/issues/202
Hi @nisimjoseph , right now I'm adding MemoryFlare https://github.com/2d-inc/Flare-Flutter/pull/215 , with this provider, you can fetch flare data by yourself and render it with FlareActor.memory(xxx)
I'm also planning to add a light version FlareActor.network later, will update this thread once it's ready.
hi @ybbaigo this is great!!!