Skip to content

Commit 14d7d7c

Browse files
authored
fix: set controller to lottie.asset (#309)
1 parent 1bd85ed commit 14d7d7c

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

example/lib/gen/assets.gen.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -407,6 +407,7 @@ class LottieGenImage {
407407
}) {
408408
return Lottie.asset(
409409
_assetName,
410+
controller: controller,
410411
animate: animate,
411412
frameRate: frameRate,
412413
repeat: repeat,

example_resources/lib/gen/assets.gen.dart

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/core/lib/generators/integrations/lottie_integration.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ class LottieIntegration extends Integration {
6363
}) {
6464
return Lottie.asset(
6565
_assetName,
66+
controller: controller,
6667
animate: animate,
6768
frameRate: frameRate,
6869
repeat: repeat,

packages/core/test_resources/actual_data/assets_lottie_integrations.gen.dart

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)