Oliver

Results 14 comments of Oliver

通过打印log原因找到了,实际的滑动enterPercent值和我们的手指滑动是有延迟的,也就是说我们感觉已经滑动结束了,但是enterPercent还在变动,并且在0.96之后的值重复率很大;所以我们判断当enterPercent值小于0.96时才去改变textsize,离场同样,解决: @Override public void onEnter(int index, int totalCount, float enterPercent, boolean leftToRight) { super.onEnter(index, totalCount, enterPercent, leftToRight); // 实现颜色渐变 // setScaleX(mMinScale + (1.0f - mMinScale) * enterPercent); // setScaleY(mMinScale +...

通过打印log原因找到了,实际的滑动enterPercent值和我们的手指滑动是有延迟的,也就是说我们感觉已经滑动结束了,但是enterPercent还在变动,并且在0.96之后的值重复率很大;所以我们判断当enterPercent值小于0.96时才去改变textsize,离场同样,解决: @Override public void onEnter(int index, int totalCount, float enterPercent, boolean leftToRight) { super.onEnter(index, totalCount, enterPercent, leftToRight); // 实现颜色渐变 // setScaleX(mMinScale + (1.0f - mMinScale) * enterPercent); // setScaleY(mMinScale +...

我的也是,小米8 ,安卓10

那是因为安卓10不支持path直接访问文件了,两个解决办法:把sdk降到10以下,或者在AndroidManifest.xml文件加上android:requestLegacyExternalStorage="true"

Me too!Any solutions?I increased the itemExtent parameter and it solved the problem, but when I run it on a large-screen computer, the problem still exists.

I solved it,Related to this:https://github.com/flutter/flutter/issues/119500. First localize flutter_picker: 2.1.0, just copy the four files in the lib directory to your project, and then replace the code of the picker.dart file...

What version are you using, I tried, but it didn't work