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
请适配下flutter 3.0.1 #11
Comments
已确认 flutter 3 下可正常运行 example。 |
flutter doctor
|
@vance-liu 请问下错误信息是什么,你只是引用了三段代码😓 |
@wongkoo 你试试就知道了,把感叹号去掉就行。 |
The '!' will have no effect because the receiver can't be null. Documentation Try removing the '!' operator. 是指这个 warning 吗,看起来不影响运行。 由于当前分支同时支持3.0前后的版本,因此暂时不好去掉,我想一下该如何处理。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
非常感谢你们开源这么棒的项目!
不过我在升级flutter 3.0.1 时,遇到一些报错,请适配下。
To Reproduce
Steps to reproduce the behavior:
···
WidgetsBinding.instance!.addObserver(this);
SchedulerBinding.instance!.addPostFrameCallback((Duration timeStamp) {
PaintingBinding.instance!.imageCache!.evict(key);
···
Expected behavior
Screenshots
Versions (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: