diff --git a/lib/src/scaffold.dart b/lib/src/scaffold.dart index 752a55d..cc8b1a9 100644 --- a/lib/src/scaffold.dart +++ b/lib/src/scaffold.dart @@ -29,7 +29,7 @@ class Backdrop extends InheritedWidget { context.dependOnInheritedWidgetOfExactType()!.data; @override - bool updateShouldNotify(Backdrop oldWidget) => true; + bool updateShouldNotify(Backdrop oldWidget) => oldWidget.data != data; } /// Implements the basic functionality of backdrop.