当前位置:网站首页>Operand of null-aware operation ‘!‘ has type ‘SchedulerBinding‘ which excludes null.
Operand of null-aware operation ‘!‘ has type ‘SchedulerBinding‘ which excludes null.
2022-07-06 22:36:00 【刘刘小博】
报错如图
…/…/Documents/flutter/.pub-cache/hosted/pub.flutter-io.cn/animations-2.0.2/lib/src/open_container.dart:631:24: Warning: Operand of null-aware operation ‘!’ has type ‘SchedulerBinding’ which excludes null.
- ‘SchedulerBinding’ is from ‘package:flutter/src/scheduler/binding.dart’ (‘…/…/Documents/flutter/packages/flutter/lib/src/scheduler/binding.dart’).
SchedulerBinding.instance!
原因
是 animations 库的版本低了,需要更新
修复
将版本号增加到足够大即可,我这里增加到2.0.3就可以了
边栏推荐
- 《原动力 x 云原生正发声 降本增效大讲堂》第三讲——Kubernetes 集群利用率提升实践
- 指针与数组在函数中输入实现逆序输出
- 每人每年最高500万经费!选人不选项目,专注基础科研,科学家主导腾讯出资的「新基石」启动申报
- Talk about the importance of making it clear
- Camera calibration (I): robot hand eye calibration
- B站大佬用我的世界搞出卷积神经网络,LeCun转发!爆肝6个月,播放破百万
- A detailed explanation of head pose estimation [collect good articles]
- 【数模】Matlab allcycles()函数的源代码(2021a之前版本没有)
- Flask项目使用flask-socketio异常:TypeError: function() argument 1 must be code, not str
- On the 110th anniversary of Turing's birth, has the prediction of intelligent machine come true?
猜你喜欢

Markdown编辑器

Oracle -- 视图与序列

深入解析Kubebuilder

DFS和BFS概念及实践+acwing 842 排列数字(dfs) +acwing 844. 走迷宫(bfs)

Analyse approfondie de kubebuilder

What if the win11 screenshot key cannot be used? Solution to the failure of win11 screenshot key

JS also exports Excel
![[practice leads to truth] is the introduction of import and require really the same as what is said on the Internet](/img/58/4337f0972f7171a5c21e640f03e0b7.png)
[practice leads to truth] is the introduction of import and require really the same as what is said on the Internet
![[hand torn STL] list](/img/aa/7060ab20b41936419041067cf9daed.jpg)
[hand torn STL] list

Camera calibration (I): robot hand eye calibration
随机推荐
ACL2022 | 分解的元学习小样本命名实体识别
【线段树实战】最近的请求次数 + 区域和检索 - 数组可修改+我的日程安排表Ⅰ/Ⅲ
JS variable
Appium practice | make the test faster, more stable and more reliable (I): slice test
深入解析Kubebuilder
[line segment tree practice] recent requests + area and retrieval - array modifiable + my schedule I / III
浙江大学周亚金:“又破又立”的顶尖安全学者,好奇心驱动的行动派
Chapter 9 Yunji datacanvas company has been ranked top 3 in China's machine learning platform market
Flask项目使用flask-socketio异常:TypeError: function() argument 1 must be code, not str
JS also exports Excel
R descriptive statistics and hypothesis testing
Common Oracle SQL statements
装饰器基础学习02
If you ask me about R code debugging, I will tell you head, STR, help
Lecture 3 of "prime mover x cloud native positive sounding, cost reduction and efficiency enhancement lecture" - kubernetes cluster utilization improvement practice
架构实战训练营|课后作业|模块 6
指针与数组在函数中输入实现逆序输出
You can't sell the used lithography machine to China! The United States unreasonably pressured the Dutch ASML, and domestic chips were suppressed again
acwing 843. N-queen problem
Is there any way to bookmark the code in the visual studio project- Is there a way to bookmark code in a Visual Studio project?