Flare-flutter: Incompatibility with Dart 2.1

Created on 5 Dec 2018  路  10Comments  路  Source: 2d-inc/Flare-Flutter

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

Most helpful comment

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.

All 10 comments

Same here

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

@luigi-rosso, any idea why this happens?

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

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.

Sorry everyone, we鈥檙e still traveling back from London for the next few days so we鈥檙e 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

@luigi-rosso No issues mate. You鈥檝e 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.

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!

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.

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

parlux picture parlux  路  4Comments

MrSagarShah picture MrSagarShah  路  3Comments

kautukkundan picture kautukkundan  路  3Comments

BrainRayChristensen picture BrainRayChristensen  路  7Comments

nisimjoseph picture nisimjoseph  路  4Comments