Samples For QlevarRouter
To test the samples, clone this repo open with VSCode and chose the sample you want to run
A website with this structure can be done like this
And now from anywhere from your code you can call QR.to('/dashboard/orders')
and if the user logged in, then the info page in the dashboard will be opened
An app with this structure can be done like this
This example shows how to use the canPop
function to prevent the user from leaving the page if he has unsaved data.
This example shows how to return data from the page that you navigate to.
This example will show how to use the temporary route to show a page or just a bottom sheet that contains this page depending on the screen width.
Here you can find the code for the scenarios described in the storyboards from flutter uxr project
if you want a new samples for new use case fell free to open an issue describing in it the use case you want or you can add it your self with pull request 😄