How to install and use lottie with Flutter 3.10.5
A popular Flutter package with 2987 likes that support Flutter version 3.10.5 and above. Last version of the package was published on Aug 01, 2023.Installing lottie
You can either add the package directly using the flutter command line.
In either case, make sure to refresh your packages by running the following command:
$ flutter pub add lottie
dependencies:
lottie: ^2.5.0
In either case, make sure to refresh your packages by running the following command:
$ flutter pub get
Using lottie
Once you have installed the package, you can use it in your Flutter application by importing it.
import 'package:lottie/lottie.dart';