[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-9354":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":30,"readmeContent":31,"aiSummary":32,"trendingCount":16,"starSnapshotCount":16,"syncStatus":33,"lastSyncTime":34,"discoverSource":35},9354,"rive-flutter","rive-app\u002Frive-flutter","rive-app","Flutter runtime for Rive","https:\u002F\u002Frive.app",null,"Dart",1482,235,25,66,0,1,5,20,4,61.62,"MIT License",false,"master",true,[27,28,29],"animation","flutter","interactive","2026-06-12 04:00:44","[![Pub Version](https:\u002F\u002Fimg.shields.io\u002Fpub\u002Fv\u002Frive)](https:\u002F\u002Fpub.dev\u002Fpackages\u002Frive)\n![Build Status](https:\u002F\u002Fgithub.com\u002Frive-app\u002Frive-flutter\u002Factions\u002Fworkflows\u002Ftests.yaml\u002Fbadge.svg)\n![Discord badge](https:\u002F\u002Fimg.shields.io\u002Fdiscord\u002F532365473602600965)\n![Twitter handle](https:\u002F\u002Fimg.shields.io\u002Ftwitter\u002Ffollow\u002Frive_app.svg?style=social&label=Follow)\n\n# Rive Flutter\n\n![Rive hero image](https:\u002F\u002Fcdn.rive.app\u002Frive_logo_dark_bg.png)\n\nRive Flutter is a runtime library for [Rive](https:\u002F\u002Frive.app), a real-time interactive design tool.\n\nThis library allows you to fully control Rive files in your Flutter apps and games.\n\n## Table of contents\n\n- [Rive Flutter](#rive-flutter)\n  - [Table of contents](#table-of-contents)\n  - [Overview of Rive](#overview-of-rive)\n  - [Getting started](#getting-started)\n  - [Choosing a Renderer](#choosing-a-renderer)\n    - [Note on the Impeller renderer](#note-on-the-impeller-renderer)\n  - [Supported platforms](#supported-platforms)\n  - [Awesome Rive](#awesome-rive)\n  - [Troubleshooting](#troubleshooting)\n  - [Building `rive_native`](#building-rive_native)\n  - [Testing](#testing)\n  - [Contributing](#contributing)\n  - [Issues](#issues)\n  - [Rive Flutter Legacy Runtime](#rive-flutter-legacy-runtime)\n\n## Overview of Rive\n\n[Rive](https:\u002F\u002Frive.app) combines an interactive design tool, a new stateful graphics format, a lightweight multi-platform runtime, and a blazing-fast vector renderer. This end-to-end pipeline guarantees that what you build in the Rive Editor is exactly what ships in your apps, games, and websites.\n\nFor more information, check out the following resources:\n\n- [Homepage](https:\u002F\u002Frive.app\u002F)\n- [General Docs](https:\u002F\u002Frive.app\u002Fdocs\u002F)\n- [Flutter Docs](https:\u002F\u002Frive.app\u002Fdocs\u002Fruntimes\u002Fflutter\u002Fflutter)\n- [Rive Community \u002F Support](https:\u002F\u002Fcommunity.rive.app\u002Fc\u002Fsupport\u002F)\n\n## Getting started\n\nSee the [Getting Started with Rive in Flutter](https:\u002F\u002Frive.app\u002Fdocs\u002Fruntimes\u002Fflutter\u002Fflutter) documentation.\n\n**Example App**\n\nThe `rive` package depends on `rive_native`, and the code on GitHub may reference an unpublished version of `rive_native`. To run the example app, we recommend using the published version from [Pub](https:\u002F\u002Fpub.dev\u002Fpackages\u002Frive) unless you intend to build the native libraries locally (see [Building `rive_native`](#building-rive_native)).\n\n```bash\ndart pub unpack rive        # Unpack the package source code and example app\ncd rive\u002Fexample             # Navigate to the example folder\nflutter create .            # Create the platform folders\nflutter pub get             # Fetch dependencies\nflutter run                 # Run the example app\n```\n\nFor more information, see the Runtime sections of the Rive help documentation:\n\n- [Artboards](https:\u002F\u002Frive.app\u002Fdocs\u002Fruntimes\u002Fartboards)\n- [Layout](https:\u002F\u002Frive.app\u002Fdocs\u002Fruntimes\u002Flayout)\n- [State Machine Playback](https:\u002F\u002Frive.app\u002Fdocs\u002Fruntimes\u002Fstate-machines)\n- [Data Binding](https:\u002F\u002Frive.app\u002Fdocs\u002Fruntimes\u002Fdata-binding)\n- [Loading Assets](https:\u002F\u002Frive.app\u002Fdocs\u002Fruntimes\u002Floading-assets)\n- [Caching a Rive file](https:\u002F\u002Frive.app\u002Fdocs\u002Fruntimes\u002Fcaching-a-rive-file)\n\n## Choosing a Renderer\n\nIn Rive Flutter you have the option to choose either the Rive renderer, or the renderer that is used in Flutter (Skia or Impeller).\n\nYou choose a desired renderer when creating a Rive `File` object. All graphics that are then created from this `File` instance will use the selected renderer.\n\n```dart\nfinal riveFile = (await File.asset(\n  'assets\u002Frewards.riv',\n  \u002F\u002F Choose which renderer to use\n  riveFactory: Factory.rive,\n))!;\n```\n\nOptions:\n\n- `Factory.rive` for the Rive renderer\n- `Factoy.flutter` for the Flutter renderer\n\nFor more information and additional consideration, see [Specifying a Renderer](https:\u002F\u002Frive.app\u002Fdocs\u002Fruntimes\u002Fflutter\u002Fflutter#specifying-a-renderer).\n\n### Note on the Impeller renderer\n\nStarting in Flutter v3.10, [Impeller](https:\u002F\u002Fdocs.flutter.dev\u002Fperf\u002Fimpeller) has replaced [Skia](https:\u002F\u002Fskia.org\u002F) 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 discrepencies 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:\n\n1. 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👇\n\n```bash\nflutter run --no-enable-impeller\n```\n\n2. 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.\n3. 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](https:\u002F\u002Fgithub.com\u002Fflutter\u002Fflutter) with a reproducible example, and other relevant details that can help the team debug any possible issues that may be present.\n\n## Supported platforms\n\n| Platform | Flutter Renderer | Rive Renderer |\n| -------- | ---------------- | ------------- |\n| iOS      | ✅               | ✅            |\n| Android  | ✅               | ✅            |\n| macOS    | ✅               | ✅            |\n| Windows  | ✅               | ✅            |\n| Linux    | ✅               | ✅            |\n| Web      | ✅               | ✅            |\n\nBe sure to read the [platform specific considerations](platform_considerations.md) for the Rive Flutter package.\n\n## Awesome Rive\n\nFor even more examples and resources on using Rive at runtime or in other tools, checkout the [awesome-rive](https:\u002F\u002Fgithub.com\u002Frive-app\u002Fawesome-rive) repo.\n\n## Troubleshooting\n\nThe required native libraries should be automatically downloaded during the build step (`flutter run` or `flutter build`). If you encounter issues, try the following:\n\n1. Run `flutter clean`\n2. Run `flutter pub get`\n3. Run `flutter run`\n\nAlternatively, you can manually run the `rive_native` setup script. In the root of your Flutter app, execute:\n\n```bash\ndart run rive_native:setup --verbose --clean --platform macos\n```\n\nThis will clean the `rive_native` setup and download the platform-specific libraries specified with the `--platform` flag. Refer to the **Platform Support** section above for details.\n\n## Building `rive_native`\n\nBy default, prebuilt native libraries are downloaded and used. If you prefer to build the libraries yourself, use the `--build` flag with the setup script:\n\n```bash\nflutter clean # Important\ndart run rive_native:setup --verbose --clean --build --platform macos\n```\n\n> **Note**: Building the libraries requires specific tooling on your machine. Additional documentation will be provided soon.\n\n## Testing\n\nShared libraries are included in the download\u002Fbuild process. If you've done `flutter run` on the native platform, the libraries should already be available.\n\nOtherwise, manually download the prebuilt libraries by doing:\n\n```bash\ndart run rive_native:setup --verbose --clean --platform macos\n```\n\nSpecify the desired `--platform`, options are `macos`, `windows`, and `linux`.\n\nNow you can run `flutter test`.\n\nOptionally build the libraries if desired:\n\n```bash\ndart run rive_native:setup --verbose --clean --build --platform macos\n```\n\nIf you encounter issues using `rive_native` in your tests, please reach out to us for assistance.\n\n## Contributing\n\nWe love contributions and all are welcome! 💙\n\n## Issues\n\n- Reach out to us on our [Community](https:\u002F\u002Fcommunity.rive.app\u002Ffeed)\n- File an issue on the [Rive Flutter repository](https:\u002F\u002Fgithub.com\u002Frive-app\u002Frive-flutter\u002Fissues)\n\n## Rive Flutter Legacy Runtime\n\nYou can find the old runtime code here: https:\u002F\u002Fgithub.com\u002Frive-app\u002Frive-flutter-legacy\n\nThe last published Pub release for this code is `rive: 0.13.20`.\n\nThe majority of the new runtime code now lives in the [rive_native package](https:\u002F\u002Fpub.dev\u002Fpackages\u002Frive_native).\n","Rive Flutter 是一个用于 Rive 的运行时库，允许开发者在 Flutter 应用和游戏中完全控制 Rive 文件。其核心功能包括支持动画、交互设计以及多平台渲染。通过 Rive Flutter，用户可以轻松地将高质量的矢量图形和动画集成到自己的项目中，并且能够实时响应用户输入或应用状态变化。适用于需要丰富视觉效果和互动体验的移动应用开发场景，特别是在游戏开发、UI\u002FUX 设计等领域展现出了强大的适用性。基于 Dart 语言编写，采用 MIT 许可证开源。",2,"2026-06-11 03:22:17","top_language"]