lottie-flutter
lottie-flutter copied to clipboard
alignment not valid when fit use BoxFit.fitWidth
when the lottie height is more than mobile's height,and fit use BoxFit.fitWidth. I want the lottie play with bottomCenter,but It didn't paly as expected,the bottom of the lottie was palyed outside the screen
flutter doctor [√] Flutter (Channel stable, 2.5.3, on Microsoft Windows [Version 10.0.19044.1645], locale zh-CN) • Flutter version 2.5.3 at D:\flutter • Upstream repository https://github.com/flutter/flutter.git • Framework revision 18116933e7 (6 months ago), 2021-10-15 10:46:35 -0700 • Engine revision d3ea636dc5 • Dart version 2.14.4 • Pub download mirror https://pub.flutter-io.cn • Flutter download mirror https://storage.flutter-io.cn
lottie version is lottie: 1.2.2
The same for me!
The same for me!
I use Transform.translate for manual alignment