当条目过少时listview某些嵌套情况下可能不会滚动(条目多时,超出一个屏幕,不会出现此问题),RefreshIndicator是根据下拉偏移量触发onRefresh操作,不能滚动自然不能下拉刷新。在listview的physice属性赋值new AlwaysScrollableScrollPhysics(),如上图,保持listview任何情况都能滚动,问题解决。

 

Flutter-RefreshIndicator不能下拉刷新

相关文章:

  • 2022-12-23
  • 2021-07-01
  • 2021-12-29
  • 2022-12-23
  • 2022-01-27
  • 2021-11-17
  • 2021-08-19
  • 2021-11-27
猜你喜欢
  • 2022-12-23
  • 2023-03-17
  • 2022-02-07
  • 2022-02-07
  • 2021-12-16
  • 2021-12-03
  • 2021-10-16
相关资源
相似解决方案