【发布时间】:2020-01-10 11:05:54
【问题描述】:
如果用户开始滚动,我会尝试隐藏一个容器,以便为列表视图提供更多空间和可见性。我尝试将 Gesturedetector 作为 Listview.builer 的父级并使用它的“onVerticalDragStart”,但没有运气。我是flutter的初学者,希望你能帮助我。谢谢!
【问题讨论】:
-
要检测仅滚动开始,您可以检查
NotificationListener。 Check this if it helps
标签: flutter flutter-layout flutter-listview