From 0cf916fa8fbea615ccb979ed31e6ef1e51063f0b Mon Sep 17 00:00:00 2001 From: aovooyov Date: Sat, 11 Oct 2025 20:21:09 +0200 Subject: [PATCH] fix: Return false to allow the notification to continue to be dispatched to further ancestors --- lib/src/common/observer_widget.dart | 2 +- pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/common/observer_widget.dart b/lib/src/common/observer_widget.dart index ab630b6..f3c0c99 100644 --- a/lib/src/common/observer_widget.dart +++ b/lib/src/common/observer_widget.dart @@ -300,7 +300,7 @@ class ObserverWidgetState< resultModel: result, ); } - return true; + return false; }, child: NotificationListener( onNotification: (notification) { diff --git a/pubspec.yaml b/pubspec.yaml index c92b026..dcbedd4 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: scrollview_observer description: A widget for observing data related to the child widgets being displayed in a ScrollView. -version: 1.26.2 +version: 1.26.3 homepage: https://github.com/fluttercandies/flutter_scrollview_observer environment: