mirror of
https://github.com/rive-app/rive-flutter.git
synced 2026-03-13 08:32:10 +08:00
* docs(flutter): point to pub example * docs(flutter): additional instructions in example folder feature(editor): Importing a library script imports its dependencies (#11385) 11572bfdab This PR adds support for automatically adding any dependency scripts of a library script that is added to a file. We recursively walk down the dependencies until they are all added as ScriptAssets to the host file. Includes an update to peon worker to return dependencyIds and folderPath with the script attributes. Namespacing using folders isn't supported in this PR but will be addressed subsequently. fix: missing blob_asset.json files (#11574) 0e3db43471 feature: the blob Co-authored-by: Gordon <pggordonhayes@gmail.com>
Rive Flutter Example
A demo application showcasing Rive Flutter.
Getting Started
The rive package depends on rive_native, and the code on GitHub may reference an unpublished version of rive_native. We recommend using the published version from Pub:
dart pub unpack rive # Unpack the package source code and example app
cd rive/example # Navigate to the example folder
flutter create . # Create the platform folders
flutter pub get # Fetch dependencies
flutter run # Run the example app
Alternatively, clone this repository (requires building native libraries locally):
git clone https://github.com/rive-app/rive-flutter
cd rive-flutter/example
flutter pub get
flutter run
Flutter Installation Instructions
If you're new to Flutter, see the official installation instructions.