Skip to content

Commit

Permalink
fix: set controller to lottie.asset (#309)
Browse files Browse the repository at this point in the history
  • Loading branch information
wasabeef authored Sep 29, 2022
1 parent 1bd85ed commit 14d7d7c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions example/lib/gen/assets.gen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,7 @@ class LottieGenImage {
}) {
return Lottie.asset(
_assetName,
controller: controller,
animate: animate,
frameRate: frameRate,
repeat: repeat,
Expand Down
1 change: 1 addition & 0 deletions example_resources/lib/gen/assets.gen.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ class LottieIntegration extends Integration {
}) {
return Lottie.asset(
_assetName,
controller: controller,
animate: animate,
frameRate: frameRate,
repeat: repeat,
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 14d7d7c

Please sign in to comment.