Skip to content

feat: allow passing a custom navigator key to routerConfig#26

Merged
jacobaraujo7 merged 2 commits intoFlutterando:mainfrom
RyanHolanda:main
Jun 13, 2025
Merged

feat: allow passing a custom navigator key to routerConfig#26
jacobaraujo7 merged 2 commits intoFlutterando:mainfrom
RyanHolanda:main

Conversation

@RyanHolanda
Copy link
Copy Markdown
Contributor

I needed to show a global dialog from a place where the context was no longer available, but the current Routefly version didn’t allow me to pass a custom navigator key to get a global context.

Now, I’ve made it possible to pass a custom navigator key to routerConfig, so anyone who needs a global context or direct access to the navigator key can use it

@jacobaraujo7 jacobaraujo7 merged commit af81bd2 into Flutterando:main Jun 13, 2025
@Felipe-N0bre
Copy link
Copy Markdown

has this been released? I am not able to set a navigator key from routerConfig on version 3.1.3
thanks

@RyanHolanda
Copy link
Copy Markdown
Contributor Author

has this been released? I am not able to set a navigator key from routerConfig on version 3.1.3 thanks

It hasn’t, but what you can do is use the package as a git dependency and refer to the main branch

@Felipe-N0bre
Copy link
Copy Markdown

@RyanHolanda yeah I guess that's the only way for now. Thanks for the quick reply bro!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants