1. Create Flare File
Like this one: https://www.2dimensions.com/a/nb312/files/flare/new-file-3
and then export with *.flr file, my file is named 'sunny_rotate.flr'
2. Set the asset path
in your pubspec.yaml file, you could set like this.
3. set package
in your pubspec.yaml file ,you should set : ``flare_flutter: ^1.0.2``
4. Use in dart file
It is easy,so let go to do it now.
The whole project is here:
you can check out it and run yourself.