-
Now, there is no longer a need to write ref.read(provider.notifier) or ref.watch(provider) every time.
-
If you deviate from the naming conventions, you’ll get a compile error, which ensures you stick to a defined structure.
-
It handles error messages for you.
-
It manages loadings for you.
-
Because it is much simpler, it increases the readability of the code base.
Normal Implementation | Implementation with Generator |
---|---|