I am trying to add this library to my flutter project: https://pub.dartlang.org/packages/charts_flutter#-installing-tab-
When I add the dependency to my pubspec.yaml file and hit packages get, I get the following error:
The current Dart SDK version is 2.1.0-dev.9.4.flutter-f9ebf21297.
Because charts_flutter >=0.6.0 depends on charts_common >=0.6.0 which requires SDK version >=2.1.0 <3.0.0, charts_flutter >=0.6.0 is forbidden. So, because undaunted_golf_flutter depends on charts_flutter ^0.6.0, version solving failed.
pub get failed (1) Process finished with exit code 1
To me, it looks like I have the most up to date version of Dart, which matches the minimum version the chart_common library requires. I updated my Android Studio yesterday (2/15/2019), the same day the charts_flutter and charts_common were updated.
What am I missing here?