medito-app icon indicating copy to clipboard operation
medito-app copied to clipboard

Improve routing

Open michaelcspeed opened this issue 1 year ago • 0 comments

lib/utils/navigation_extra.dart

We have a usecase where we maybe have folders within folders within folders. Each folder can contain sessions, folders, links to websites, text pages or links to videos. In previous versions of GoRouter you could not dynamically build routes, so the current implementation has a tree structure hardcoded with all these possibilities. It would be good if we didn't need to do that, apparently the newer versions of GoRouter can support dynamic routing.

michaelcspeed avatar Jan 23 '23 18:01 michaelcspeed