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 468 forks source link
:warning: Please migrate to the new Rive Flutter runtime. This runtime is for the old Rive (formerly Flare) and will only receive updates for breaking issues with Flutter and egregious bugs. New features and updates are only planned for the new Rive.

Rive 1 (previously Flare)

Rive 1 (previously Flare) offers powerful realtime vector design and animation for app and game designers alike. The primary goal of Flare is to allow designers to work directly with assets that run in their final product, eliminating the need to redo that work in code.

Null Safety

Preview of null safety is now available on pub.dev with version 3.0.0. Include it in your pubspec via:

  dependencies:
    flare_flutter: ^3.0.0-nullsafety.0

Packages

There used to be two Dart packages provided in this repository. flare_dart is no longer maintained as a separate package, it has now been rolled into flare_flutter. Please use only flare_flutter going forward.

Examples

Take a look at the provided example applications.

Please note that only the simple, change_color, and teddy have been updated to null safety.

License

See the LICENSE file for license rights and limitations (MIT).