No tab or nested route involved.
With the following
return MaterialApp.router(
routerConfig: _appRouter.config(
navigatorObservers: () => [MyObserver()],
),
);
the observer logs correctly at pop and push.
But the following doesn't print anything:
class BooksListPageState extends State<BookListPage> with AutoRouteAwareStateMixin<BookListPage> {
// only override if this is a stack page
@override
void didPopNext() { print(...); }
// only override if this is a stack page
@override
void didPushNext() { print(...); }
}
No tab or nested route involved.
With the following
the observer logs correctly at pop and push.
But the following doesn't print anything: