Lulupointu
Feb 12, 2021

--

Hi,

Thanks for the feedback. I think however that `Router.of(context).backButtonDispatcher` is not null for other platform (altough useless).

The issue was rather that I forgot to put a RootBackButtonDispatcher in the top router. I fixed the issue and it's working for me (on Android and web at least). Let me know if this works for you !

I don't think navigatorkey.currentState.pop(context) is usefull in this context, simply using Navigator.pop(context) should be enough to programmatically pop !

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Responses (1)

Write a response