Skip to content

Repository files navigation

📱 Flutter Cubit API Example

This is a simple Flutter application demonstrating how to fetch data from an API (https://reqres.in/api/users) using Cubit for state management and Dio for networking.


✨ Features

  • 🌐 API Integration using Dio to make HTTP requests.
  • 🧠 State Management with Cubit (from the flutter_bloc package).
  • 🎨 Clean UI displaying a list of users with avatar, name, and email.
  • 📸 App Screenshot included below.

📸 App Screenshot

User List


🧪 Packages Used

Package Description
flutter_bloc Provides Cubit for state management.
dio HTTP client for making API requests.

🗂️ Project Structure

The folder structure follows the Clean Architecture pattern, separating concerns into different layers:

About

A Practical Implementation of Flutter Cubit with Best & Light weight State Management

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages