Flutter: REST API Call (HTTP Request) with provider state management in flutter:

This Video provides you step by step process of how to integrate http Restful API call using provider state management. Change State effectively into your flutter app based on API call process and update flutter UI.

Steps to follow:

  1. Create Model for Json Data
  2. Convert Json data to Model
  3. Fetch API from Server
  4. Initialize model to our Provider
  5. Use Consumer Widget to Update Data
  6. Update Data using Provider
  7. set data from provider model and show Data in UI.

JSON to Dart (Create model from the response): https://javiercbk.github.io/json_to_dart/

Public JSON API: https://api.jikan.moe/v3/search/anime?q=naruto

Support library

⭐ Like and subscribe⭐

Youtube Channel


Any Operating System (ie. MacOS X, Linux, Windows)

Any IDE with Flutter SDK installed (ie. IntelliJ, Android Studio, VSCode etc)

A little knowledge of Dart and Flutter A brain to think

Getting Started

This project is a starting point for a Flutter application. A few resources to get you started if this is your first Flutter project:

Lab: Make your First Flutter App

Cookbook: Usefull Flutter Demos

For help getting started with Flutter, view our Flutter Document, which offers tutorials, samples, guidance on mobile development, and a full API reference.

☕️ Donate

Buy Me A Coffee


View Github