mirror of
https://github.com/rive-app/rive-flutter.git
synced 2025-06-28 02:37:16 +08:00
Bump version and update docs
This commit is contained in:
@ -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.
|
||||||
|
@ -1,12 +1,14 @@
|
|||||||
# Rive [](https://pub.dev/packages/rive)
|
# 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',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
|
@ -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,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user