Flutter_map: Update sdk version

Created on 30 Aug 2018  路  2Comments  路  Source: fleaflet/flutter_map

Trying to run flutter run in example.
Getting

Running "flutter packages get" in flutter_map_example...
The current Dart SDK version is 2.1.0-dev.1.0.flutter-ccb16f7282.

Because flutter_map_example depends on flutter_map from path which requires SDK version >=1.19.0 <2.0.0, version solving failed.

pub get failed (1)

Is it possible to update pubspec.yaml to allow new SDK ?

Most helpful comment

fixed in version 0.1.1

All 2 comments

馃憤
Solved for now by editing the pubspec.yaml of a locally cached version or forking this and doing the same.

Local version should live in your pub cache, a path like this:
.pub-cache/hosted/pub.dartlang.org/flutter_map-0.0.11+1

Info how to use local or Github version of a Dart package here.

fixed in version 0.1.1

Was this page helpful?
0 / 5 - 0 ratings

Related issues

garrrettt picture garrrettt  路  3Comments

palicka picture palicka  路  4Comments

igaurab picture igaurab  路  5Comments

jasonleung101 picture jasonleung101  路  3Comments

DanialV picture DanialV  路  6Comments