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

Add a navigation focused alternative to YaruMasterDetailPage #718

Open
Feichtmeier opened this issue Jun 25, 2023 · 1 comment · Fixed by #738
Open

Add a navigation focused alternative to YaruMasterDetailPage #718

Feichtmeier opened this issue Jun 25, 2023 · 1 comment · Fixed by #738
Labels
enhancement New feature or request widgets

Comments

@Feichtmeier
Copy link
Member

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.

@Feichtmeier Feichtmeier changed the title Add an navigation focused alternative to YaruMasterDetailPage Add a navigation focused alternative to YaruMasterDetailPage Jun 25, 2023
@Feichtmeier Feichtmeier reopened this Jul 27, 2023
@Feichtmeier
Copy link
Member Author

hmmpf, sadly that is not enough

@Feichtmeier Feichtmeier added enhancement New feature or request widgets labels Mar 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request widgets
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant