You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently you select a tile in the master view and the detail view is completely rebuild.
This is fine for apps like settings where each page is somehow detached from the rest.
But when you want to navigate more freely it is hard to code around YaruMasterDetailPage
Proposal:
instead of giving the master tiles so much "power" I would suggest to create an alternative widget that keeps the master view but does not change the detail view depending on the index.
The index is still needed to tell a tile if it is selected or not but that's it.
The details view should be just the navigator. And we can set an ontap callback for the master tiles which push to a new material page.
This would also allow an easy forward and back navigation as for example in spotify.
This should be done inside another Widget and should not replace YaruMasterDetailPage.
Too late for mock-ups. I hope my description was clear if not I can add mock-ups in the next week.
The text was updated successfully, but these errors were encountered:
Feichtmeier
changed the title
Add an navigation focused alternative to YaruMasterDetailPage
Add a navigation focused alternative to YaruMasterDetailPage
Jun 25, 2023
Currently you select a tile in the master view and the detail view is completely rebuild.
This is fine for apps like settings where each page is somehow detached from the rest.
But when you want to navigate more freely it is hard to code around YaruMasterDetailPage
Proposal:
instead of giving the master tiles so much "power" I would suggest to create an alternative widget that keeps the master view but does not change the detail view depending on the index.
The index is still needed to tell a tile if it is selected or not but that's it.
The details view should be just the navigator. And we can set an ontap callback for the master tiles which push to a new material page.
This would also allow an easy forward and back navigation as for example in spotify.
This should be done inside another Widget and should not replace YaruMasterDetailPage.
Too late for mock-ups. I hope my description was clear if not I can add mock-ups in the next week.
The text was updated successfully, but these errors were encountered: