报错The getter 'value' was called on null
来源:7-6 动画Animation开发指南-AnimatedWidget与AnimatedBuilder-1【跟着做】
叶乔
2021-03-23
图上标红的代码报如下错误:
======== Exception caught by widgets library =======================================================
The following NoSuchMethodError was thrown building LogoApp(dirty, state: _LogoAppState#6dba8(ticker inactive)):
The getter ‘value’ was called on null.
Receiver: null
Tried calling: value
写回答
1回答
-
CrazyCodeBoy
2021-03-24
animation加个空判断
00
相似问题