Skip to content

Latest commit

 

History

History
60 lines (44 loc) · 4.15 KB

File metadata and controls

60 lines (44 loc) · 4.15 KB

Sample Bloc Pattern And Drift With Single State

Linktree Static Badge X LinkedIn Medium Mastodon Bluesky Dev.to blog YouTube Static Badge

An advanced boilerplate project demonstrating the BLoC architecture with a Single State approach, using Dio for networking and Drift for local persistence.

Important

Looking for a similar project using standard Drift classes?
👉 SampleBlocPatternWithSingleState 👈

🚀 Key Technologies & Libraries

  • Bloc Pattern (Single State): Manages business logic and UI state through a streamlined single-state flow.
  • Drift Database: A reactive persistence library. This project implements the database using pure Dart classes (no .drift files).
  • Dio Network Manager: Handles robust HTTP requests and remote data fetching.
  • Get It: Service locator for clean Dependency Injection.
  • Cached Network Image: Efficient image loading with offline support.

🔧 Versioning

  • Flutter SDK: 3.41.5
  • Dart Version: 3.11.3

📚 References & Tutorials

BLoC & Architecture

Networking (Dio) & Persistence (Drift)

📡 API Endpoints (Data Source)

This project parses data from the SpaceX API:

⭐ Stargazers

If you find this project useful for your Flutter development, please give it a star!
Check out the stargazers here

🙏 Support & Contributions

Feedback, bug reports, and feature requests are welcome! Feel free to open an issue or submit a pull request.