2d-inc / Flare-Flutter

Load and get full control of your Rive files in a Flutter project using this library.
https://rive.app/
MIT License
2.55k stars 469 forks source link

Runtime raster images replacement? #63

Open zhangjunmax opened 5 years ago

zhangjunmax commented 5 years ago

Is Flare-Flutter support runtime raster images replacement(from remote server)?

From Spine Software "Skins allow switching between sets of attachments. They provide organization for attachments and enable animations that change attachments to be reused for different characters." features-skins

luigi-rosso commented 5 years ago

We support swapping visible elements in Flare so you can effectively do this with a well set-up Flare file. Swapping the entire texture atlas is possible at runtime but it requires a little bit of fiddling with the Flutter code, we don't have a nice and easy "swapAllTextures" call.

lengguangwei commented 5 years ago

We support swapping visible elements in Flare so you can effectively do this with a well set-up Flare file. Swapping the entire texture atlas is possible at runtime but it requires a little bit of fiddling with the Flutter code, we don't have a nice and easy "swapAllTextures" call.

Hi Luigi Rosso I also want to replace an image node by the remote png file dynamically Can you share the sample code