From 8d80ad2de84d07a00697c295989c3d5f99fa4e8f Mon Sep 17 00:00:00 2001 From: matt Sullivan Date: Thu, 10 Jun 2021 13:18:49 -0700 Subject: [PATCH] Bump version and update docs --- CHANGELOG.md | 4 ++++ README.md | 7 ++++--- example/lib/simple_animation.dart | 2 +- pubspec.yaml | 2 +- 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8067bb8..b41e987 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## [0.7.13] - 2021-06-10 12:00:00 +- Adds linear animation and state machine getters to RuntimeArtboard +- RiveAnimation now takes lists of animation and state machine names and plays all of them. + ## [0.7.12] - 2021-06-02 14:35:44 - Support for artboard instancing! - Fixes an issue with 100% exit time not working on loops. diff --git a/README.md b/README.md index 281ceed..9118e77 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,14 @@ # Rive [![Pub Version](https://img.shields.io/pub/v/rive)](https://pub.dev/packages/rive) +Runtime docs are available in [Rive's help center](https://help.rive.app/runtimes/quick-start). + [Rive](https://rive.app/) is a real-time interactive design and animation tool. Use our collaborative editor to create motion graphics that respond to different states and user inputs. Then load your animations into apps, games, and websites with our lightweight open-source runtimes. ## Add to pubspec.yaml ```yaml dependencies: - rive: ^0.7.12 + rive: ^0.7.13 ``` ## Quick Start @@ -28,9 +30,8 @@ class SimpleAnimation extends StatelessWidget { Widget build(BuildContext context) { return const Scaffold( body: Center( - // child: RiveAnimation.asset('assets/off_road_car.riv'), child: RiveAnimation.network( - 'https://cdn.rive.app/animations/truck.riv', + 'https://cdn.rive.app/animations/vehicles.riv', ), ), ); diff --git a/example/lib/simple_animation.dart b/example/lib/simple_animation.dart index 6b374a5..c15b1ef 100644 --- a/example/lib/simple_animation.dart +++ b/example/lib/simple_animation.dart @@ -13,7 +13,7 @@ class SimpleAnimation extends StatelessWidget { body: const Center( // child: RiveAnimation.asset('assets/off_road_car.riv'), child: RiveAnimation.network( - 'https://cdn.rive.app/animations/truck.riv', + 'https://cdn.rive.app/animations/vehicles.riv', fit: BoxFit.cover, ), ), diff --git a/pubspec.yaml b/pubspec.yaml index db11bd2..572eb49 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: rive description: 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. -version: 0.7.12 +version: 0.7.13 repository: https://github.com/rive-app/rive-flutter homepage: https://rive.app