This commit is contained in:
2024-12-31 12:05:56 +08:00
parent a88bbe9ea6
commit 3a320feda9
9 changed files with 260 additions and 30 deletions

View File

@@ -155,6 +155,9 @@ class _PopUpWidgetScaffoldState extends State<PopUpWidgetScaffold> {
),
NotificationListener<ScrollNotification>(
onNotification: (notifications) {
if (notifications.metrics.axisDirection != AxisDirection.down) {
return false;
}
if (notifications.metrics.pixels ==
notifications.metrics.minScrollExtent &&
!top) {