Last updated:
0 purchases
rive
Rive Flutter #
Rive Flutter is a runtime library for Rive, a real-time interactive design and animation tool.
This library allows you to fully control Rive files with a high-level API for simple interactions and animations, as well as a low-level API for creating custom render loops for multiple artboards, animations, and state machines in a single canvas.
Table of contents #
Rive Flutter
Table of contents
Overview of Rive
Getting started
Choosing a Renderer
Note on the Impeller renderer
Supported platforms
Awesome Rive
Contributing
Issues
Overview of Rive #
Rive is a powerful tool that helps teams create and run interactive animations for apps, games, and websites. Designers and developers can use the collaborative editor to create motion graphics that respond to different states and user inputs, and then use the lightweight open-source runtime libraries, like Rive Flutter, to load their animations into their projects.
For more information, check out the following resources:
๐ก Homepage
๐ General help docs
๐ Rive Forums
Getting started #
To get started with Rive Flutter, check out the following resources:
Getting Started with Rive in Flutter
For more information, see the Runtime sections of the Rive help documentation:
Animation Playback
Layout
State Machines
Rive Text
Rive Events
Loading Assets
More advanced usage:
Caching a RiveFile
Alternative Widget Setup
Custom Rive RenderObject
Custom Painter
Choosing a Renderer #
For more information see: https://rive.app/community/doc/overview/docD20dU9Rod
Note on the Impeller renderer #
Starting in Flutter v3.10, Impeller has replaced Skia to become the default renderer for apps on the iOS platform and may continue to be the default on future platforms over time. As such, there is a possibility of rendering and performance discrepancies when using the Rive Flutter runtime with platforms that use the Impeller renderer that may not have surfaced before. If you encounter any visual or performance errors at runtime compared to expected behavior in the Rive editor, we recommend trying the following steps to triage:
Try running the Flutter app with the --no-enable-impeller flag to use the Skia renderer. If the visual discrepancy does not show when using Skia, it may be a rendering bug on Impeller. However, before raising a bug with the Flutter team, try the second point below๐
flutter run --no-enable-impeller
copied to clipboard
Try running the Flutter app on the latest master channel. It is possible that visual bugs may be resolved on the latest Flutter commits, but not yet released in the beta or stable channel.
If you are still seeing visual discrepancies with just the Impeller renderer on the latest master branch, we recommend raising a detailed issue to the Flutter Github repo with a reproducible example, and other relevant details that can help the team debug any possible issues that may be present.
Supported platforms #
Be sure to read the platform specific considerations for the Rive Flutter package.
Awesome Rive #
For even more examples and resources on using Rive at runtime or in other tools, checkout the awesome-rive repo.
Contributing #
We love contributions and all are welcome! ๐
Issues #
Have an issue with using the runtime, or want to suggest a feature/API to help make your development life better? Log an issue in our issues tab! You can also browse older issues and discussion threads there to see solutions that may have worked for common problems.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.