We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35571f4 commit fa53046Copy full SHA for fa53046
lib/src/mock_navigator.dart
@@ -17,7 +17,7 @@ class _MockMaterialPageRoute extends MaterialPageRoute<void> {
17
// By the time the setState is called, the attribute is already set
18
// so we just ignore the error and the hack will do its job.
19
state.insert(entry);
20
- } on Exception catch (_) {}
+ } on Object catch (_) {}
21
// Set mounted back to false to make sure the state doesn't get
22
// marked as dirty during OverlayEntry.remove().
23
state._mounted = false;
0 commit comments