This web application contains a simple example on how to integrate GoRouter and Riverpod altogether. This example is a Web app with a navigation bar which has link which scrolls to particular element when is clicked and strives to represent a Web UI Design Template based on Flutter an inspired in this site.
The example, CoworkingSpace:
- You find a responsive Web design that responds to the user’s behavior and environment based on screen size and orientation.
- I used GoRouter package to navigate between pages.
- To preserve a piece of state (scroll position) and allows listening to that state I used Riverpod.
- I added an embed video using the WebView package that allows to display web content.