Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

迁移 Null safety #112

Closed
onerain88 opened this issue Apr 28, 2021 · 1 comment
Closed

迁移 Null safety #112

onerain88 opened this issue Apr 28, 2021 · 1 comment
Assignees

Comments

@onerain88
Copy link
Contributor

onerain88 commented Apr 28, 2021

介绍

Flutter 2 正式版已发布,但之前由于 SDK 依赖问题,导致无法迁移。
目前大部分依赖库都已支持,SDK 开始了迁移工作,见分支 flutter2
SDK 还在迭代开发中,但大部分测试已通过。如果有在接入过程中遇到问题,请在此 issue 下反馈,我会及时响应的。

相关 issue

#106
#105

引用方式

开发者可先用 git 方式引入(待测试成熟后再发布至 pub),在 pubspec.yaml 中,调整 sdk 版本为 >=2.12.0,并输入下面的 github 地址

environment:
  sdk: '>=2.12.0 <3.0.0'

dependencies:
  flutter:
    sdk: flutter

  leancloud_storage:
    git:
      url: https://github.com/leancloud/Storage-SDK-Flutter.git
      ref: flutter2

备注

目前依赖库 dio_http_cache 看来正在适配 Null safety,所以是通过 git 方式引入的。

@onerain88
Copy link
Contributor Author

发布了 0.7.1 支持 Null safety

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant