rive 0.6.2+3 rive: ^0.6.2+3 copied to clipboard
Rive 2 Flutter Runtime. This package provides runtime functionality for playing back and interacting with animations built with the Rive editor available at https://rive.app.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add rive
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
rive: ^0.6.2+3
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:rive/rive.dart';