mirror of
https://github.com/rive-app/rive-flutter.git
synced 2025-06-27 02:07:12 +08:00
Tweak example, bump version
This commit is contained in:
@ -11,11 +11,9 @@ class SimpleAnimation extends StatelessWidget {
|
||||
title: const Text('Simple Animation'),
|
||||
),
|
||||
body: const Center(
|
||||
// child: RiveAnimation.asset('assets/off_road_car.riv'),
|
||||
child: RiveAnimation.network(
|
||||
'https://cdn.rive.app/animations/vehicles.riv',
|
||||
fit: BoxFit.cover,
|
||||
antialiasing: false,
|
||||
),
|
||||
),
|
||||
);
|
||||
|
Reference in New Issue
Block a user