Shuyu Guo

Results 198 comments of Shuyu Guo

那个按键能不能点,主要得github觉得你的系统webkit 支不支持他

https://github.com/CarGuo/gsy_github_app_flutter/issues/643#issuecomment-743088698 例如可以参考这个

有一个叫 SafeArea,那个才是

先 jumpTo 一个 maxScrollExtent - X 的值,然后在 then 里去 scrollto maxScrollExtent 试试

一般我是取 0.7 左右,然后 then 的时候直接就用 animate to 不用 jump 了,在 animate to 的时候重新get maxScrollExtent

另外一个思路,跳转到末尾滚动期间修改为 `ClampingScrollPhysics` ,跳转结束后才改为 `BouncingScrollPhysics `

嗯嗯,我想叉了,jump 直接改的 position ,可以越过 physics ,我以前大概就是这样 ````dart scroller.jumpTo( scroller.position.maxScrollExtent * 0.7); Future.delayed(Duration(milliseconds: 400), () { scroller.animateTo(scroller.position.maxScrollExtent, duration: Duration(milliseconds: 500), curve: Curves.linear); }); ```