mirror of
https://github.com/rive-app/rive-flutter.git
synced 2025-09-20 13:29:06 +08:00
style: updated example and readme
Diffs= a259b57b2 style: clean up example app 483978f10 docs: update readme
This commit is contained in:
@ -14,8 +14,8 @@ class SpeedyAnimation extends StatelessWidget {
|
||||
title: const Text('Custom Controller'),
|
||||
),
|
||||
body: Center(
|
||||
child: RiveAnimation.network(
|
||||
'https://cdn.rive.app/animations/vehicles.riv',
|
||||
child: RiveAnimation.asset(
|
||||
'assets/vehicles.riv',
|
||||
fit: BoxFit.cover,
|
||||
animations: const ['idle'],
|
||||
controllers: [SpeedController('curves', speedMultiplier: 3)],
|
||||
|
Reference in New Issue
Block a user