Updates docs

This commit is contained in:
matt Sullivan
2021-06-14 15:49:01 -07:00
parent dddb78b62f
commit 941a2aa922
3 changed files with 61 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/// Demonstrates play a one-shot animation on demand
/// Demonstrates playing a one-shot animation on demand
import 'package:flutter/material.dart';
import 'package:rive/rive.dart';
@ -36,7 +36,7 @@ class _PlayOneShotAnimationState extends State<PlayOneShotAnimation> {
),
body: Center(
child: RiveAnimation.network(
'https://cdn.rive.app/vehicles.riv',
'https://cdn.rive.app/animations/vehicles.riv',
animations: const ['idle', 'curves'],
controllers: [_controller],
),