当前位置:网站首页>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就可以了
边栏推荐
- 九章云极DataCanvas公司获评36氪「最受投资人关注的硬核科技企业」
- STM32封装ESP8266一键配置函数:实现实现AP模式和STA模式切换、服务器与客户端创建
- 全国气象数据/降雨量分布数据/太阳辐射数据/NPP净初级生产力数据/植被覆盖度数据
- 什么是Web3
- Web3 社区中使用的术语
- MySQL数据库(基础篇)
- PLC Analog output analog output FB analog2nda (Mitsubishi FX3U)
- Chapter 9 Yunji datacanvas company won the highest honor of the "fifth digital finance innovation competition"!
- 【數模】Matlab allcycles()函數的源代碼(2021a之前版本沒有)
- Introduction to the PureMVC series
猜你喜欢

Read of shell internal value command

What if win11 pictures cannot be opened? Repair method of win11 unable to open pictures

Tree map: tree view - draw covid-19 array diagram

Flex layout and usage

Intel David tuhy: the reason for the success of Intel aoten Technology

Analyse approfondie de kubebuilder

Depth first traversal template principle of tree and graph

指针与数组在函数中输入实现逆序输出

【线段树实战】最近的请求次数 + 区域和检索 - 数组可修改+我的日程安排表Ⅰ/Ⅲ

This "advanced" technology design 15 years ago makes CPU shine in AI reasoning
随机推荐
Intel and Xinbu technology jointly build a machine vision development kit to jointly promote the transformation of industrial intelligence
Canteen user dish relationship system (C language course design)
5G VoNR+之IMS Data Channel概念
The worse the AI performance, the higher the bonus? Doctor of New York University offered a reward for the task of making the big model perform poorly
Oracle -- 视图与序列
Lecture 3 of "prime mover x cloud native positive sounding, cost reduction and efficiency enhancement lecture" - kubernetes cluster utilization improvement practice
offer如何选择该考虑哪些因素
Introduction to the PureMVC series
九章云极DataCanvas公司摘获「第五届数字金融创新大赛」最高荣誉!
抖音或将推出独立种草社区平台:会不会成为第二个小红书
Station B boss used my world to create convolutional neural network, Lecun forwarding! Burst the liver for 6 months, playing more than one million
Vscode automatically adds a semicolon and jumps to the next line
STM32封装ESP8266一键配置函数:实现实现AP模式和STA模式切换、服务器与客户端创建
Common methods of list and map
A line of R code draws the population pyramid
Stm32f103ze+sht30 detection of ambient temperature and humidity (IIC simulation sequence)
史上最全学习率调整策略lr_scheduler
JDBC link Oracle reference code
Win11 control panel shortcut key win11 multiple methods to open the control panel
01机器学习相关规定