An attempt to release a new rive-common for the recent audio fixes. All the other recent text changes are kinda blocking an easy update here. I temporarily removed some functionality with the intension to add it back tomorrow in a bigger effort to support the new text properties for the Flutter runtime. @luigi-rosso I did not include these files generated from the publishing script: - packages/editor/web/rive_text.wasm - packages/editor/web/rive_text.js As I understand they are now created by rive_native? ---------- **Edit:** I also added the needed Text changes to support the new alignment, wrap, and fit. Video comparing the Editor and Flutter for various text scenarios. https://github.com/user-attachments/assets/807fb698-25d5-4fda-b33e-df93e555015c Diffs= 80da365913 chore: release rive_flutter 0.13.15 and rive_common 0.4.12 (#8357) d1372c444f use worldBounds for hittesting (#8361) 2be44a0f45 Deterministic lite rtti (#8349) 054e3c5b73 audio engine: fix order of uninit of context and engine (#8350) a1484308fa reset effects when path changes (#8347) f01d62e126 Add a clockwise fill experiment (#8345) 7ee1c7777f Batch interior triangulation draws (#8328) 9d5076b883 Fix layout animation runtime (#8340) 638ee6434e Make layout position type and scale type keyable (#8316) 0f805654cf Improve batching for interior triangulation draws (#8327) 4e8c555722 Unreal Runtime into Mono (#8318) 50dfc9ee9a Fix runtime joystick with layout position (#8323) e582b41aaa add bones and joystick bindable properties (#8322) 272db8c3af fix missing data bind path crash (#8321) Co-authored-by: Gordon <pggordonhayes@gmail.com>
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
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
Getting started
To get started with Rive Flutter, check out the following resources:
For more information, see the Runtime sections of the Rive help documentation:
More advanced usage:
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
- 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.