Im using a lottie animation with Flutter compiled and deployed as a web application. It works well on desktop chrome, but not on android chrome. Does anybody know the problem?
(Flutter (Channel stable, 3.3.1, on Microsoft Windows [Version 10.0.22000.856], locale de-DE)) Android Chrome 105.0.5195.79, both should be up to date.
main() {
WidgetsFlutterBinding.ensureInitialized();
runApp(MyApp());
}
class MyApp extends StatelessWidget {
const MyApp({super.key});
@override
Widget build(BuildContext context) {
return MaterialApp(
home: Scaffold(
body: Center(
child: Lottie.asset("assets/lottie/94729-not-found.json"))));
}
}
On Chrome Windows/Desktop all okay...
On Chrome Android (also Android Emulator) - somehow cropped
Update: Actually, I observe the problem with all lottie animations.... Is that a lottie bug?
Thanks!