Flutter 依赖错误 DART

Flutter Dependencies Error DART

我正在用 flutter 做一个 App,我遇到了以下问题

/Users/pedro/Desktop/Development/flutter/bin/flutter --no-color packages get Running "flutter packages get" in wemystic... The current Dart SDK version is 2.1.0-dev.0.0.flutter-be6309690f. Because flutter_cache_manager >=0.1.0-rc.1 depends on uuid >=0.0.7 <1.0.3 which requires SDK version <2.0.0, flutter_cache_manager >=0.1.0-rc.1 is forbidden. So, because wemystic depends on flutter_cache_manager 0.1.0-rc.1, version solving failed. pub get failed (1) Process finished with exit code 1

我在 pubspec.yaml 中的依赖项是:

dependencies:
  flutter:
    sdk: flutter

  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^0.1.2
  firebase_auth: any
  google_sign_in: any
  flutter_html_view: any

谢谢

flutter_cache_manager 包已过时,需要更新

将此添加到 pubspec.yaml 应该可以解决它作为解决方法,直到软件包更新

dependency_overrides:
  uuid: ^1.0.3