zl程序教程

您现在的位置是:首页 >  其他

当前栏目

Flutter 之A value of type ‘‘ can‘t be assigned to a variable of type的错误解决笔记

错误flutter笔记 解决 to of be type
2023-09-14 09:06:42 时间

最近工作不是很忙,于是乎又是捡起Flutter继续学习。在github上找到一个flutter的学习demo,准备学习学习其动画。
运行github上的代码发下了如下错误:

Error: A value of type 'Animation<BorderRadius?>' can't be assigned to a variable of type 
'Animation<BorderRadius>' because 'BorderRadius</