-
Notifications
You must be signed in to change notification settings - Fork 1
Tony/149 highlight selected menu item #162
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
base: dev
Are you sure you want to change the base?
Conversation
gjwgit
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested on Linux - works as advertised.
jesscmoore
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works well in notepod, can it also be tested in other apps using solidui?
|
|
||
| for (int i = 0; i < menu.length; i++) { | ||
| final menuChild = menu[i].child; | ||
| if (menuChild != null && menuChild.runtimeType == subpageType) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @tonypioneer This method of testing match of current page to menu items, requires each menu item to have a separate type which is smart and should work for apps. Works great in Notepod. However to confirm, lets have reviewers test the PR in other apps.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @jesscmoore. I have tested it SolidUI Example app and Notepod, because there have already been some navigation buttons in the appbar of these two apps, the testing will be easier. I haven't tested it in other apps yet.
@gjwgit did you test in healthpod/geopod/rio using solidui? Would be good to check apps other than notepod |
Pull Request Details
What issue does this PR address
Associated Issue
Type of Change
How Has This Been Tested?
Build and run the NotePod app using this branch.
Checklist
Complete the check-list below to ensure your branch is ready for PR.
make preporflutter analyze lib)dart testoutput or screenshot included in issue #Finalising
Once PR discussion is complete and reviewers have approved: