如何在手势检测器中检测向上滑动? [重复]

问题描述 投票:-1回答:1
我知道对于向下滑动检测有onVerticalDragDown,但是对于向上滑动检测没有onVerticalDragUp小部件中的GestureDetector参数。
flutter dart flutter-layout flutter-dependencies flutter-animation
1个回答
1
投票
您正在寻找GestureDetector类中的

onPanUpdate

© www.soinside.com 2019 - 2024. All rights reserved.