Closed pacmanmati closed 1 year ago
@pacmanmati great thanks!
Can you make the change in example/lib/examples/custom_load.dart
and run dart tool/generate_readme.dart
? It will copy the code to the readme.
@xvrh I updated the example and used generate_readme.dart
, I also updated the description above the example to make it more relevant.
Thanks for the contribution!
Update documentation to use
AssetLottie(...).load()
instead ofLottieComposition.fromByteData(...)
Resolves https://github.com/xvrh/lottie-flutter/issues/215