In this tutorial, we handled the Riverpod + StateNotifier + Freezed + DDD combination to manage the state powerfully in Flutter again. I showed how can you fetch the data from the API.
The build runner code here: flutter packages pub run build_runner build --delete-conflicting-outputs
The API link is here: https://rickandmortyapi.com
I also wrote a Medium article for this tutorial, If you wish, you can also read it from here: / riverpod-statenotifier-freezed-ddd-in-flut...
My GitHub is here: https://github.com/alperefesahin
The other details and GitHub project etc. are in the Medium article!