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.13k stars 197 forks source link

[Critical] Fatal animation error on LottieFiles website (Flutter) #363

Open SAOKIM99 opened 3 weeks ago

SAOKIM99 commented 3 weeks ago

I'm having serious problems using recently uploaded animations from LottieFiles.

web: https://lottiefiles.com/animations/scan-to-order-cXzULUFVCa?from=search

code:

   Widget build(BuildContext context) {
    return SafeArea(
      child: Scaffold(
        backgroundColor: Colors.teal[100],
        body: Center(
          child: Lottie.asset("assets/animation/Animation - flash.json",),
        ),
      ),
    );
  }

Animation - flash.json

https://github.com/xvrh/lottie-flutter/assets/94666344/5e1160d9-0123-4788-b73f-36220fd40ffa