xvrh / lottie-flutter

Render After Effects animations natively on Flutter. This package is a pure Dart implementation of a Lottie player.
https://pub.dev/packages/lottie
MIT License
1.15k stars 197 forks source link

Add layer-level opacity option to LottieOptions #286

Closed westito closed 1 year ago

westito commented 1 year ago

When I faced the TextLayer opacity problem, I thought this option can solve it. However, I couldn't enable because it's not accessible, so I led out into options. At the end, this not solved my problem but I guess it could help to others.

I believe this option should be enabled by default because without it the animation is not accurate and differences from web or iOS. In Flutter this not causes such a big performance penalty than in Android (for which this option exists).

Details: https://github.com/airbnb/lottie-android/issues/902

xvrh commented 1 year ago

Thank you for the contribution!