Bump version and update docs

This commit is contained in:
matt Sullivan
2021-06-10 13:18:49 -07:00
parent 05ceb34fa1
commit 8d80ad2de8
4 changed files with 10 additions and 5 deletions

View File

@ -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 ## [0.7.12] - 2021-06-02 14:35:44
- Support for artboard instancing! - Support for artboard instancing!
- Fixes an issue with 100% exit time not working on loops. - Fixes an issue with 100% exit time not working on loops.

View File

@ -1,12 +1,14 @@
# Rive [![Pub Version](https://img.shields.io/pub/v/rive)](https://pub.dev/packages/rive) # 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. [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 ## Add to pubspec.yaml
```yaml ```yaml
dependencies: dependencies:
rive: ^0.7.12 rive: ^0.7.13
``` ```
## Quick Start ## Quick Start
@ -28,9 +30,8 @@ class SimpleAnimation extends StatelessWidget {
Widget build(BuildContext context) { Widget build(BuildContext context) {
return const Scaffold( return const Scaffold(
body: Center( body: Center(
// child: RiveAnimation.asset('assets/off_road_car.riv'),
child: RiveAnimation.network( child: RiveAnimation.network(
'https://cdn.rive.app/animations/truck.riv', 'https://cdn.rive.app/animations/vehicles.riv',
), ),
), ),
); );

View File

@ -13,7 +13,7 @@ class SimpleAnimation extends StatelessWidget {
body: const Center( body: const Center(
// child: RiveAnimation.asset('assets/off_road_car.riv'), // child: RiveAnimation.asset('assets/off_road_car.riv'),
child: RiveAnimation.network( child: RiveAnimation.network(
'https://cdn.rive.app/animations/truck.riv', 'https://cdn.rive.app/animations/vehicles.riv',
fit: BoxFit.cover, fit: BoxFit.cover,
), ),
), ),

View File

@ -1,6 +1,6 @@
name: rive 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. 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 repository: https://github.com/rive-app/rive-flutter
homepage: https://rive.app homepage: https://rive.app