We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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.5 • channel flutter-2.13-candidate.0 Tools • Dart 2.17.6 • DevTools 2.12.2 以上版本使用中,在floating.dart文件110行,会报错提示Overlay.of(context)有可能为空,需要改为: Overlay.of(context)?.insert(_overlayEntry);
The text was updated successfully, but these errors were encountered:
改为 Overlay.of(context)?.insert(_overlayEntry); 窗口就不显示了,
Sorry, something went wrong.
因为项目是适配了空安全,所以需要在 sdk 3.0.0 以上的环境运行,否则就会有空安全的问题出现,可以自行升级sdk版本或者copy项目自己去修改代码
No branches or pull requests
Flutter 3.0.5 • channel flutter-2.13-candidate.0
Tools • Dart 2.17.6 • DevTools 2.12.2
以上版本使用中,在floating.dart文件110行,会报错提示Overlay.of(context)有可能为空,需要改为:
Overlay.of(context)?.insert(_overlayEntry);
The text was updated successfully, but these errors were encountered: