shared_response
This is Flutter package for using the common code for getting the HTTP request and take all the actions like: loading, showing a some UI when the error happened, showing the UI of the data You have got http request successfully and pull to refresh.
Getting Started
package, a library module containing code that can be shared easily across multiple Flutter or Dart projects.
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.