Export Rive Artboard to PNG in Flutter
Hi Rive team 👋
I’m working on a Flutter project that uses Rive for animated avatars and achievement cards. I was wondering if there’s a way to export a Rive artboard (or ideally, a specific frame/state of it with given parameters — like a certain pose or specific character cosmetics) as a PNG image in Flutter?
Here’s the use case:
We have a Rive avatar file that represents the user’s character (kind of like Bitmoji).
Separately, we have Rive card files that display achievements or milestones.
The idea is to export the avatar as a PNG, insert it into the card Rive file dynamically, and then export the final card as a PNG so it can be shared.
We’d like to keep the avatar and card files independent, but we need a way to render and save the avatar artboard as an image in real time.
Is this possible using the current Rive Flutter SDK? Or is there a workaround you’d recommend?
Appreciate any insights!
Thanks 🙏
Ramy