Files
Luis Pulido a85558e829 upgraded example projects
- latest packages
- latest android and ios templates
- added web
2024-10-04 16:26:08 -04:00
..
2024-10-04 16:26:08 -04:00
2024-10-04 16:26:08 -04:00
2024-10-04 16:26:08 -04:00
2024-10-04 16:26:08 -04:00
2023-05-27 02:07:26 +02:00
2024-10-04 16:26:08 -04:00
2023-05-27 00:45:27 +02:00
2024-10-04 16:26:08 -04:00
2024-10-04 16:26:08 -04:00
2024-10-04 16:26:08 -04:00
2023-05-27 02:34:20 +02:00

Riverpod + GoRouter + Hooks + Freezed

This example covers:

  • Riverpod's APIs, including autoDispose, providers, notifiers, keepAliveLink, etc.
  • GoRouter's latest APIs
  • An authentication model
  • An authorization model
  • An intermediate splash page
  • Some basic persistence API usage
  • ! extensive usage of code generation

Note. Tests are missing. I'll try and implement some ASAP.

Note 2:

  • This repo is to be considered a "best effort" example that aims to show how to correctly integrate the above libraries;
  • Indeed, we can all agree that there is no magical silver bullet that fits in every possible use case: use this repo with caution..

Dependencies and Libs version

Have a look at [pubspec.yaml] to see which versions are being used in here.

Getting started

Run this.

flutter clean && flutter pub get && flutter pub upgrade && flutter pub run build_runner watch -d

And enjoy this example.