Skip to content
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

Incompatibility with Dart 2.1 #3

Closed
scalybur opened this issue Dec 5, 2018 · 10 comments
Closed

Incompatibility with Dart 2.1 #3

scalybur opened this issue Dec 5, 2018 · 10 comments

Comments

@scalybur
Copy link

scalybur commented Dec 5, 2018

Failed to get the Flare dependencies because they do not run with Dart 2.1

@mploigt
Copy link

mploigt commented Dec 5, 2018

Same here

@awazgyawali
Copy link

Weird to see this happening, coz it was just announced yesterday.

@c16a
Copy link

c16a commented Dec 5, 2018

@luigi-rosso, any idea why this happens?

@SmashHighlights
Copy link

I have the same issue importing "flare:" as a dependency.
But this Youtube video shows that it works if you download the flare lib folder from github and add it locally to your project. (As a temporary solution at least)
https://youtu.be/ve0r4B1D-S0

@c16a
Copy link

c16a commented Dec 5, 2018

Yeah, even the example project on the repo does the same - it doesn't import flare from pub. True, it's a work around, but gets messy once you need to put your project on a CI system.

Hope the guys fix it soon.

@luigi-rosso
Copy link
Contributor

Sorry everyone, we’re still traveling back from London for the next few days so we’re not quite as responsive as we usually are. I will fix this issue tonight, however. Will write back later. Thanks for the excitement in trying this out so quickly.

Sent with GitHawk

@c16a
Copy link

c16a commented Dec 5, 2018

@luigi-rosso No issues mate. You’ve done a great job at Flutter Live to be honest. Bonus tolerance for you guys until you fix this.

Looking forward to start using Flare and Nima.

@luigi-rosso
Copy link
Contributor

I think the problem is that everyone is trying to use the "flare" dependency from Dart Pub. This is a bug in our readme. In the excitement we actually forgot to publish a package. We've been referencing the Flare library as a submodule and adding the dependency via a path reference to the your pubspec.yaml. I'm publishing a package now and updating the documentation to reflect the correct package name (unfortunately flare is already in use). More updates soon!

@luigi-rosso
Copy link
Contributor

flare_flutter has been published and the examples here have been updated accordingly. We'll be making a few other examples and tutorials public in the next week that'll show how to fully use this library.

@luigi-rosso
Copy link
Contributor

Closing this, feel free to re-open if you run into any problems.

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

No branches or pull requests

6 participants