我的版本如下
flutter 1.7.8
dart 2.4.0
我看文档说在pubspec.yaml文件的dependencies配置就好了
https://flutter.dev/docs/deve...
我也配置了,结果报错
The current Dart SDK version is 2.4.0.
Because hello_world depends on a from path which requires SDK version <2.0.0, version solving failed.
Running "flutter pub get" in hello_world...
pub get failed (1)