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如何解决 #16

Open
ounione opened this issue Dec 15, 2023 · 1 comment
Open

新手请问null safety如何解决 #16

ounione opened this issue Dec 15, 2023 · 1 comment

Comments

@ounione
Copy link

ounione commented Dec 15, 2023

提示了Because wanandroid_flutter depends on flutter_swiper >=0.0.2 which doesn't support null safety, version solving failed.

The lower bound of "sdk: '>=2.0.0-dev.48.0 <3.0.0'" must be 2.12.0 or higher to enable null safety.
试了下改版本为sdk: '>=2.12.0 仍然没有成功

@ounione ounione changed the title 新手请问null safety如何结局 新手请问null safety如何解决 Dec 15, 2023
@yechaoa
Copy link
Owner

yechaoa commented Dec 16, 2023

sdk: '>=2.12.0 会默认开启空安全检查,flutter_swiper已经不维护了,所以暂时没迁移。

sdk改成如下可以运行:
environment:
sdk: ">=2.1.0 <3.0.0"

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

2 participants