JaspervanRiet / duck_router

A Flutter router with intents
MIT License
4 stars 3 forks source link

Come up with better way of replacing/clearing stack when navigating #23

Open JaspervanRiet opened 2 months ago

JaspervanRiet commented 2 months ago

22 introduces clearStack, useful functionality. However, it doesn't feel very "DuckRouter-y". It mentions an implementation detail in its use of stack.

I'm not sure how yet, but I think we can come up with an API that simplifies things.