Skip to content

Support Lottie #70

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

Conversation

HiroyukiTamura
Copy link

@HiroyukiTamura HiroyukiTamura commented Dec 24, 2020

What does this change?

Support lottie.
Related: #47

flutter_gen:

  integrations:
    lottie: true  # here

What is the value of this and can you measure success?

Pass tests.

@britannio
Copy link

It might be better to check if any json file contains the keys mentioned here: https://github.com/airbnb/lottie-web/blob/master/docs/json/animation.json
Although, my lottie files don't contain the chars field.

nova8yte added a commit to nova8yte/flutter_gen that referenced this pull request Aug 27, 2022
* dropped support for '*_lottie.json' per FlutterGen#70 PR
* include root path for tests
* update example
@nova8yte nova8yte mentioned this pull request Aug 27, 2022
@wasabeef wasabeef mentioned this pull request Sep 27, 2022
wasabeef added a commit that referenced this pull request Sep 28, 2022
* Add lottie integration
* example & test asset
* auto strip "lottie" from final asset var name

* Update README.md

* Update lottie integration
* dropped support for '*_lottie.json' per #70 PR
* include root path for tests
* update example

* set: min lottie version
* rename resourcesPath for better code readability

* fix: version must be equals or more than 4.4.0

* fix merge

* support semver

* change custom semver to pub_sem_ver

* chore: add some usecases files

* refactor: change to named constructor

* test: add wrong test case

Co-authored-by: Alexandra Kovaleva <[email protected]>
@wasabeef
Copy link
Member

@HiroyukiTamura
Thank you for your PR. I released v5.0.0 and v5.0.1. The version includes the Lottie file support.

@wasabeef wasabeef closed this Sep 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants