How to downgrade Flutter SDK (Dart 1.x)

后端 未结 6 1141
情话喂你
情话喂你 2020-12-01 08:40

I upgraded my Flutter SDK and now my project is broken. I need to basically revert back to a Flutter SDK which uses Dart 1.x.

I tried the following in the pubspec.ya

6条回答
  •  没有蜡笔的小新
    2020-12-01 09:23

    1. Download Flutter SDK release: flutter_windows_1.17.0-stable: https://flutter.dev/docs/development/tools/sdk/releases
    2. Replace the existing Flutter folder to this version
    3. Make sure that environment variables and Flutter + Dart Settings on your IDE are still tied to this folder/path

提交回复
热议问题