mirror of
https://github.com/rive-app/rive-flutter.git
synced 2025-06-27 02:07:12 +08:00
Updates docs
This commit is contained in:
@ -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],
|
||||
),
|
||||
|
Reference in New Issue
Block a user