Skip to content
This repository was archived by the owner on Apr 14, 2026. It is now read-only.

Commit b387f9f

Browse files
feat: mock pop calls (#4)
1 parent 61cf976 commit b387f9f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

lib/mock_navigator.dart

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ class _MockNavigatorState extends NavigatorState {
6363
@override
6464
Future<T?> push<T extends Object?>(Route<T> route) => navigator.push(route);
6565

66+
@override
67+
void pop<T extends Object?>([T? result]) {}
68+
6669
@override
6770
Widget build(BuildContext context) => child!;
6871
}

0 commit comments

Comments
 (0)