rive-app/rive-flutter
73.8
Strong · 17 November 2026
8.7k
lines of production code
Dart
primary language
5
measurements over time
What this system is
Features
Add Centaur Game example using shared render texture
The advanced examples now include a Centaur Game demo that renders Rive animations via a shared render texture. This example demonstrates how to integrate Rive state machines with Flutter's rendering pipeline for interactive gameplay, including handling pointer events for aiming and firing, keyboard input for movement, and managing game entities like arrows and apples.
example/lib/advanced · high confidence
Add Windows runner scaffolding for the example app
The example application now includes the necessary CMake build configuration and C++ source files to compile and run on Windows. This adds a Win32 window host that initializes the Flutter engine, registers plugins, and manages the application lifecycle, enabling users to build and launch the example directly from Visual Studio or the command line on Windows.
example/windows · high confidence
Added macOS example app scaffolding
The macOS example application scaffolding has been added, providing the native Xcode project structure, build configurations, and entry points required to run the Flutter app on macOS. This includes the \Runner\ target setup with \AppDelegate\ and \MainFlutterWindow\, standard macOS menu and window resources, and necessary entitlements for sandboxing and network access.
example/macos · high confidence
Automated pubspec update for local rive\_native dependency
A new shell script, update\_rive\_native\_to\_path.sh, has been added to the scripts directory. This tool automatically modifies the pubspec.yaml file to switch the rive\_native dependency from a versioned reference to a local path dependency (../rive\_native), handling both inline version formats and existing path configurations. This facilitates local development workflows by ensuring the project correctly references the local rive\_native package.
scripts · high confidence
Initial checkin of Rive 2 runtime example app scaffolding
The example application for Android and Web has been initialized with the standard Flutter project structure required for the new Rive 2 runtime. This includes the Android manifest configured for Flutter v2 embedding, a Kotlin MainActivity extending FlutterActivity, Gradle wrapper properties (v9.3.1), and web assets (index.html, manifest.json) that include specific instrumentation scripts for benchmarking and debugging (e.g., console logging, canvas transfer state, and WebGL object tracking).
example/android · high confidence
Initial commit of the Rive Flutter example application
The example directory now contains a complete demo application for the Rive Flutter package, including the source code, configuration files (such as .gitignore and analysis\_options.yaml), and a README with instructions for running the app and accessing the renderer benchmark. The example also includes a tooling script for running performance benchmarks on BrowserStack, allowing users to compare Rive and Flutter rendering performance across various Android devices.
example · high confidence
Initial iOS example project scaffolding
The iOS example application has been added, providing a complete Xcode project structure for the Flutter app. This includes the standard Runner target configuration, asset catalogs for app icons and launch screens, and the necessary build settings to integrate with CocoaPods. The implementation uses the \FlutterImplicitEngineDelegate\ protocol in the AppDelegate to handle plugin registration, ensuring the example app is ready for local development and testing.
example/ios · high confidence
Introduce shared texture rendering for high-performance Rive animations
This change introduces a new shared texture rendering system that allows multiple Rive animations to be drawn into a single native texture, significantly improving performance for complex scenes and avoiding WebGL context limits on the web. Users can now wrap their widgets in a \RivePanel\ and set \useSharedTexture: true\ on \RiveWidget\ instances to enable this behavior, or explicitly pass a \SharedRenderTexture\ to \RiveWidget\ for more granular control across different parts of the widget tree. The system includes a \RiveSurface\ to render the shared texture, configurable draw orders for stacking animations, and a unified ticker to manage animation frames efficiently. Additionally, the \RiveWidget\ now supports configurable \RenderResolution\ for texture sizing, first-class semantics opt-in for accessibility, and keyboard focus handling.
lib/src/widgets · high confidence
New Flutter example applications for runtime features
The example application now includes a comprehensive suite of new demos covering advanced runtime capabilities. These include data binding examples for properties, artboards, images, and lists; a scripting demo featuring Blinko and the Centaur Game; and interactive examples for keyboard focus, hit testing, inputs, and multi-touch. Additional demos demonstrate out-of-band asset loading for images, fonts, and audio, as well as alternative rendering via the animation painter.
example/lib/examples · high confidence
New RiveWidgetController for simplified Rive widget integration
A new \RiveWidgetController\ class is introduced in \lib/src/painters/widget\_controller.dart\ to provide a more convenient API for building Rive widgets. This controller extends \BasicArtboardPainter\ and mixes in \RivePointerEventMixin\, \RiveSemanticsMixin\, and \RiveKeyboardFocusMixin\ to handle pointer events, accessibility semantics, and keyboard focus. It manages the lifecycle of the Rive artboard and state machine, automatically binding view models at construction time via parameters like \main\ and \globals\, and includes logic to warn against redundant rebinds before the first frame advance.
lib/src/painters · high confidence
New example app with dark theme and performance diagnostics
The example application now uses a consistent dark theme defined in a new colors.dart file and includes a toggleable pacing overlay (pacing\_overlay.dart) that displays real-time performance metrics such as Rive replay rate, Flutter FPS, and thread busy times to help users monitor rendering performance.
example/lib · high confidence
Rive Flutter runtime v0.9.1 release with deferred rendering and keyboard focus
This release introduces the v0.9.1 version of the Rive Flutter runtime, which replaces the legacy Flutter renderer with a new native C++ runtime (\rive\_native\) utilizing deferred rendering for improved performance on Android and Windows. Key user-facing features include first-class keyboard focus support for interactive graphics, global view model binding, and semantic data exposure for accessibility. The update also brings significant performance improvements, such as unblocking the UI thread during rendering and fixing crashes on Windows with older GPUs, while removing legacy APIs like \Rive.batchAdvance\ and \controller.dataBind\ in favor of the new controller-based architecture.
(repo-wide) · high confidence
Behavioural changes
29 commits (0 fixes) modifying example/assets
A change to existing behaviour in example/assets — 29 commits, 62 files: “Perf/flutter runtime opacity check”; “feat!: add audio out-of-band”; “style: updated example and readme”; and 26 more (refs \#15018, \#10190, \#10645, \#11432, \#10694, …).
example/assets · medium confidence · unverified
Introduce Rive native integration with new model and error types
The library now uses the \rive\_native\ backend instead of the previous Lottie-based implementation. This change introduces a new set of core models and utilities in \lib/src\, including a \FileLoader\ for loading Rive files from assets, URLs, or files, and sealed classes for selecting artboards (\ArtboardSelector\) and state machines (\StateMachineSelector\) by default, name, or index. It also adds a \DataBind\ system for managing view model instance bindings (auto, by instance, by index, by name, or empty) and defines specific exception classes (\RiveException\, \RiveFileLoaderException\, etc.) to handle loading and binding errors.
lib/src, lib/src/models · high confidence
Migration to rive\_native and deprecation of legacy APIs
The library has replaced its underlying implementation with rive\_native, removing the previous Flare-based Rive widget and exposing a new set of public APIs (including RiveWidget, RiveBuilder, and RivePanel) while hiding internal implementation details. To support existing codebases, a new legacy.dart compatibility layer has been added, providing deprecated extensions for removed members like RiveWidgetController.dataBind and RiveLoaded.viewModelInstance, allowing users to migrate gradually with compiler warnings.
lib · high confidence
Test coverage
Added basic widget test for the example app; Added headless testing infrastructure and utilities for Rive golden tests; Added integration tests for RiveWidget controller swapping and deferred rendering; Added test assets for Rive integration tests; Added test coverage for Rive Flutter integration.
Dependencies
Rive Flutter runtime upgraded to 0.15.0-dev.3 with native backend and modern SDK requirements
The Rive Flutter package has been updated to version 0.15.0-dev.3, replacing the legacy \flare\_flutter\ dependency with \rive\_native\ (0.2.0-dev.3) to utilize the new native rendering backend. This change raises the minimum supported versions to Dart 3.8.0 and Flutter 3.32.0, and adds \flutter\_web\_plugins\ to support web platforms. The example application has been migrated to Kotlin DSL (Gradle 9.1.0, Kotlin 2.4.0) and updated to target Java 17, while the root \pubspec.lock\ has been removed in favor of standard dependency resolution.
(dependencies) · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 69.2 → 73.8 (+4.6)
- Rubric changed (rubric-2026.11.2 → rubric-2026.11.4) — scores are not directly comparable.
Lenses
- Code Health 96.8 → 94.8 (-2.0)
- Architecture 99.4 → 99.2 (-0.2)
- Maturity 60.5 → 64.0 (+3.5)
- Readiness 57.4 → 67.2 (+9.8)
- Security 94.4 → 94.4 (0.0)
- Performance 100.0 → 100.0 (0.0)
New (12)
- Edited copy of a member (10 corresponding lines) (example/lib/examples/animation_painter.dart)
- Edited copy of a member (14 corresponding lines) (example/lib/examples/scroll.dart)
- Edited copy of a member (15 corresponding lines) (example/lib/examples/databinding_lists.dart)
- Edited copy of a member (16 corresponding lines) (lib/src/painters/widget_controller.dart)
- Edited copy of a member (21 corresponding lines) (example/lib/examples/out_of_band_assets_cached.dart)
- Edited copy of a member (23 corresponding lines) (example/lib/examples/out_of_band_assets.dart)
- Edited copy of a member (27 corresponding lines) (example/lib/examples/out_of_band_assets.dart)
- Edited copy of a member (43 corresponding lines) (example/lib/examples/out_of_band_assets_cached.dart)
- Edited copy of a member (65 corresponding lines) (example/lib/examples/semantics.dart)
- Edited copy of a member (7 corresponding lines) (example/lib/examples/focus.dart)
- Edited copy of a member (7 corresponding lines) (example/lib/examples/render_resolution.dart)
- Edited copy of a member (8 corresponding lines) (example/lib/examples/inputs.dart)
Changes since last survey
- 16 commits — 8 feature/other, 8 fixes
By area
- (root) — 15 commits
- example/lib — 1 commit
Notable commits
- fix: fix(flutter): complete RiveNative.init when a web wasm script fails to load (#15812)
- fix: fix(flutter): stop Android texture removal waiting on the render thread (#15272)
- fix: fix(flutter): stop one window freeing another window's Rive session (#15454)
- fix: fix(rive_native): stop paths, paints and commands reading stale buffers (#15806)
- fix: fix(rive_native): web --wasm enum values and lookups after memory grows (#15567)
- fix: fix(rive_native): web --wasm state machine inputs list (#15575)
- fix: fix(rive_native): web interop errors, full Chrome suite under --wasm (#15749)
- fix: fix(runtime): follow one finger when a scroll view has several (#15416)
- change: chore(downstream): advance submodule/refs
- change: chore(downstream): advance submodule/refs
- change: chore(downstream): advance submodule/refs
- change: chore(downstream): advance submodule/refs
- change: chore(downstream): advance submodule/refs
- change: chore(downstream): advance submodule/refs
- change: chore(downstream): advance submodule/refs
- change: chore(downstream): advance submodule/refs
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
rive-app/rive-flutter was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 17 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit ee7a39c16a73b888769a12a870adf3cfb1097fe7 — the exact code this score is about.
- Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.85+preprod-eba6548ac50f.