Skip to content

Latest commit

 

History

History
69 lines (41 loc) · 2.39 KB

README.md

File metadata and controls

69 lines (41 loc) · 2.39 KB

Samples For QlevarRouter

To test the samples, clone this repo open with VSCode and chose the sample you want to run

RunVsCodeSample

Common use cases

Dashboard

A website with this structure can be done like this

Dashboard

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

Bottom Navigation Bar

An app with this structure can be done like this

Dashboard

Examples

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.

Flutter UXR

Here you can find the code for the scenarios described in the storyboards from flutter uxr project

More Samples

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 😄