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

How to push normal page and sheet in the first route #5

Open
emilmammadov opened this issue Feb 22, 2024 · 0 comments
Open

How to push normal page and sheet in the first route #5

emilmammadov opened this issue Feb 22, 2024 · 0 comments

Comments

@emilmammadov
Copy link

emilmammadov commented Feb 22, 2024

First of all thank you so much for building and maintaining such a helpful package.

I have a MainPage, BrandSheet and SettingPage.
In MainPage there are 2 buttons. One of them open the BrandSheet by scaling the MainPage to the back
And the settings button which should open SettingPage normally without scaling MainPage to the back.

My MainPage is in CupertinoModalSheetRoute()

So I'm able to show BrandSheet with no problem.
But When I run Navigator.of(context).pushNamed(SettingPage.routeName), MainPage is scaling like opening a sheet

How can I open the SettingPage as a normal page?

Thanks in advance

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

No branches or pull requests

1 participant