In your app you might want to make CRUD requests to a server at some point. In this video I am adding http Requests to the boilerplate app using the dio package, and with the help of provider and a singleton class we will have a base to start from when our app requires us to be organized with the requests.
Github Repo: https://github.com/turcuciprian/codin…
The Dart Singleton Pattern (class) : https://youtu.be/DqZj3kYTkYI
#flutter #http