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

Add simple screen #336

Open
jorre127 opened this issue Nov 16, 2023 · 0 comments
Open

Add simple screen #336

jorre127 opened this issue Nov 16, 2023 · 0 comments
Labels
enhancement New feature or request improve code Improve the code

Comments

@jorre127
Copy link
Contributor

Add 'Simple screen' to template, but give it a better name like 'BaseScreen' for example. Replace every screen in the app with this screen, including the debug screens. Add an automatic back button if the current route can go back so this doesn't have to be passed everytime. You can check if the current route can be popped by using:
ModalRoute.of(context)?.impliesAppBarDismissal

@jorre127 jorre127 added enhancement New feature or request improve code Improve the code labels Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request improve code Improve the code
Projects
Status: Todo
Development

No branches or pull requests

1 participant