"easing" does not have members 对于行 easing.type :Easing.InQuad 代码如下:
"easing" does not have members
easing.type :Easing.InQuad
SequentialAnimation on y { loops: Animation.Infinite NumberAnimation { duration: 3000 to: -150 from: 150 easing.type :Easing.InQuad } NumberAnimation { duration: 3000 to: 150 from: -150 easing.type :Easing.OutQuad } }
我以前太信任艾德了。
这确实是IDE的假阳性。代码运行良好,动画似乎正确。
这个问题可能已经结束了。