Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does this work with the material AppBar back button? #2

Closed
george-ayris opened this issue Jul 21, 2019 · 2 comments
Closed

Does this work with the material AppBar back button? #2

george-ayris opened this issue Jul 21, 2019 · 2 comments
Labels
question Further information is requested

Comments

@george-ayris
Copy link

Hi there,

These library works wonderfully with the native Android back button, however, I'd also like the same behaviour when pressing the AppBar back button (from the flutter/material.dart package) and by default it doesn't appear to work. Is there a way to enable this behaviour?

Cheers,
George

@george-ayris george-ayris changed the title Does this work with the Scaffold AppBar back button? Does this work with the material AppBar back button? Jul 21, 2019
@marcglasberg
Copy link
Owner

Hello George,

The AppBar is a regular widget which implements its own back function, probably by calling Navigator.pop(context);. I has nothing to do with the Android back-button, and as such is not the concern of the back_button_interceptor package.

So, I'm afraid I can't help you. I suggest you study this info: https://flutter.dev/docs/cookbook/navigation/navigation-basics

@george-ayris
Copy link
Author

Thanks for your help.

@marcglasberg marcglasberg added the question Further information is requested label Aug 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants