rive_native
0.1.11, released 4 months ago by rive.app
Rive's native runtime and renderer for Flutter.
$ flutter pub add rive_nativeWhat it does
Provides the low-level native runtime and renderer interfaces for Rive animations in Flutter. It interfaces directly with the core Rive C++ runtime across multiple platforms. Note that using the higher-level 'rive' package is generally recommended instead.
AI-written summary of version 0.1.11, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need direct access to Rive's native runtime and renderer layer in Flutter.
- You are building custom lower-level wrappers around Rive graphics.
Skip it when
- You want an intuitive, high-level declarative runtime API for Rive graphics (use the main 'rive' package instead).
- You need vector animation solutions like Lottie.
Strengths
- Direct interface with the core Rive C++ runtime and renderer.
- Cross-platform support including iOS, Android, Web, Windows, macOS, and Linux.
Weaknesses
- Requires platform setup scripts for native libraries and build steps.
- Lower-level API can be harder to use directly compared to the main 'rive' package.
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 9
Requires downloading or building platform-specific native libraries using the package's setup script (e.g., dart run rive_native:setup).
dart run rive_native:setup --verbose --clean --platform macosAlternatives
Packages that do the same job and could replace rive_native.
- lottie
If you want to render animations exported from After Effects instead of Rive.
96Compare - flutter_animate
If you prefer code-based widget animations built right into Flutter.
70Compare
Works with
Packages commonly used together with rive_native: ones it builds on, ones built on it, and its own family.
- webrive_native depends on itLightweight bindings for browser APIs via JS interop
- ffirive_native depends on itUtilities for working with Foreign Function Interface (FFI) code in Dart.
- argsrive_native depends on itLibrary for parsing raw command-line arguments into options and values using GNU and POSIX styles.
- vector_mathrive_native depends on itVector math library for 2D/3D/4D vectors, matrices, quaternions, and geometry.
- plugin_platform_interfacerive_native depends on itReusable base class for platform interfaces of Flutter federated plugins.
- graphsrive_native depends on itGraph algorithms that operate on graphs in any representation.
- riveBuilt on rive_nativeRive runtime for Flutter to display and control interactive vector animations.