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