mirror of
https://github.com/xvrh/lottie-flutter.git
synced 2025-08-06 16:39:36 +08:00
Support loading a zip file (#5)
This commit is contained in:
@ -16,6 +16,9 @@ class MyApp extends StatelessWidget {
|
||||
// Load a Lottie file from a remote url
|
||||
Lottie.network(
|
||||
'https://raw.githubusercontent.com/xvrh/lottie-flutter/master/example/assets/Mobilo/A.json'),
|
||||
|
||||
// Load an animation and its images from a zip file
|
||||
Lottie.asset('assets/lottiesfiles/angel.zip'),
|
||||
],
|
||||
),
|
||||
),
|
||||
|
Reference in New Issue
Block a user