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

Close minimal style NavigationPane from PaneItemAction.onTap() #219

Closed
h3x4d3c1m4l opened this issue Mar 8, 2022 · 1 comment
Closed

Comments

@h3x4d3c1m4l
Copy link
Contributor

Is your feature request related to a problem? Please describe.
As some of my NavigationPane items push to the navigation stack instead of changing the NavigationView content, I would like to be able to close a minimal style NavigationPane. Currently the pane stays open after navigation, it is noticeable when you navigate back.

Describe the solution you'd like
I would like to be able to close the minimal style NavigationPane programatically.

Describe alternatives you've considered
None, I could not find any.

Additional context
Add any other context or screenshots about the feature request here.

@bdlukaa
Copy link
Owner

bdlukaa commented Mar 9, 2022

You can change the pane display mode with simple state management. You can see an example of how to do it on the example app: https://github.com/bdlukaa/fluent_ui/blob/master/example/lib/theme.dart

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

2 participants