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

about NavigationAppBar's default leading #539

Closed
frg2089 opened this issue Sep 20, 2022 · 0 comments
Closed

about NavigationAppBar's default leading #539

frg2089 opened this issue Sep 20, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@frg2089
Copy link

frg2089 commented Sep 20, 2022

Is your feature request related to a problem? Please describe.
I want to override the onPressed behavior of NavigationAppBar's default leading, but NavigationAppBar does not provide the corresponding interface implementation.

Describe the solution you'd like
Provides an interface to override the onPressed behavior of default leading.
Or remove the Padding from _buildLeading .
Or allow me to pass in a GlobalKey<NavigatorState> to be used to modify the default behavior.

Describe alternatives you've considered
I tried to copy the default leading into my project, but _buildLeading adds a Padding to it causing the button to look weird.

Additional context
https://github.com/bdlukaa/fluent_ui/blob/master/lib/src/controls/navigation/navigation_view/view.dart#L702-L706

@bdlukaa bdlukaa added the bug Something isn't working label Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants