rive
0.14.11, released 4 months ago by rive.app
Rive runtime for Flutter to display and control interactive vector animations.
WASM-ready
What it does
Provides APIs to load Rive files, control artboards, state machines and render animations. Supports multiple renderers and platforms including web and desktop.
AI-written summary of version 0.14.11, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need high‑performance, interactive vector animations created in Rive
- You target multiple platforms (mobile, web, desktop) with a single runtime
Skip it when
- You only need simple, static animations and want a smaller package
- You require a pure Dart solution without native dependencies
Strengths
- Cross‑platform support including web and desktop
- Fine‑grained control over renderers and resolution
- Native performance via rive_native
Weaknesses
- Requires native library setup on some platforms
- Package size larger due to native binaries
- Limited to animations created with the Rive editor
Setup
- Kind
- Flutter widgets
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 1
Native libraries are downloaded automatically; may need to run `dart run rive_native:setup` for custom builds or troubleshooting.
```dart
import 'package:rive/rive.dart';
RiveAnimation.asset(
'assets/animation.riv',
animations: ['idle'],
);
```Alternatives
Packages that do the same job and could replace rive.
Works with
Packages commonly used together with rive: ones it builds on, ones built on it, and its own family.
- rive_nativerive depends on itRive's native runtime and renderer for Flutter.
- awesome_dialogBuilt on riveShow beautiful animated dialogs (info, question, warning, success, error) simply in Flutter.
- rive_animated_iconBuilt on riveCollection of over 50 customizable animated icons powered by Rive.
- flame_riveBuilt on riveRive animation support and wrappers for the Flame game engine.
- giffy_dialogBuilt on riveQuick and customizable giffy dialogs and bottom sheets with image, Rive, or Lottie animations.
- impaktfull_uiBuilt on riveimpaktfull ui components to simplify development and design processes while still allowing custom design
- basf_flutter_componentsBuilt on riveA BASF‑styled Flutter component library offering themes, widgets, and animations.