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

Further customization of compact navigation bar #669

Open
Hopy-Jaden opened this issue Jan 1, 2023 · 0 comments
Open

Further customization of compact navigation bar #669

Hopy-Jaden opened this issue Jan 1, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Hopy-Jaden
Copy link

Hopy-Jaden commented Jan 1, 2023

Is your feature request related to a problem? Please describe.
The pictures below show that there are different styles of compact navigation. They have a different combination of the hamburger menu button, backward button, search button, and app icon. However, the current version of compact navigation cannot provide this customization.

image
image
image

Describe the solution you'd like
customization by adding parameters like showBeforeLeadingAppIcon to choose whether the navigation tab appears on the left of the app Icon.
Adding parameters like controlsOrder to order and show wanted controls(backward button, hamburger menu, search button etc.)

 pane: NavigationPane(
    selected: topIndex,
    onChanged: (index) => setState(() => topIndex = index),
    displayMode: displayMode,
    showBeforeLeadingAppIcon: true //bool parameter default with true, just like the media player
    //can remove the buttons by not adding to the controlsOrder List of the controlsOrder parameter
    controlsOrder: List<controlsOrder>[BackwardButton, HamburgerMenu, SearchButton] //the default order of list parameter, 
  ...
 )

Describe alternatives you've considered
N/A

Additional context
N/A

@bdlukaa bdlukaa added the enhancement New feature or request label Jan 4, 2023
@bdlukaa bdlukaa mentioned this issue Jan 13, 2023
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants