simplezhli / flutter_deer

🦌 Flutter 练习项目(包括集成测试、可访问性测试)。内含完整UI设计图,更贴近真实项目的练习。Flutter practice project (including integration testing and accessibility testing). Contains complete UI design drawings for a more realistic practice project.
https://simplezhli.github.io/flutter_deer/
Apache License 2.0
8.01k stars 1.67k forks source link

flutter 3.16 不兼容 #240

Closed vzhilong closed 1 year ago

vzhilong commented 1 year ago

flutter 3.16会报错

The method '_RenderSingleChildViewport.getOffsetToReveal' doesn't have the named parameter 'axis' of overridden method 'RenderAbstractViewport.getOffsetToReveal'.
  RevealedOffset getOffsetToReveal(RenderObject target, double alignment,

似乎是因为flutter/3.16.0/flutter/packages/flutter/lib/src/rendering/viewport.dart改了参数列表

simplezhli commented 1 year ago

是的,我已经适配了3.16。晚上我push一下代码。

simplezhli commented 1 year ago

代码已提交,你可以拉下来再看看。