Skip to content

NicosNicolaou16/SampleDriftDatabaseWithBlocPattern

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

115 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample Drift Database With Bloc Pattern

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

This project is an application that utilizes the BLoC architecture pattern, Dio for network management, and Drift for local database storage. It demonstrates a robust way to handle data synchronization between a remote API and a local cache.

Important

Similar project with single state management:
👉 SampleBlocPatternWithSingleState 👈

🚀 Key Features & Packages

  • Bloc Patterns: Along with repositories and services, it separates business logic, data access, and UI using streams to manage data flow. (Documentation)
  • Dio Network Manager: Responsible for making asynchronous HTTP requests and retrieving data from remote servers.
  • Drift Database: Handles local persistence, allowing for complex queries and full offline functionality. (Documentation)
  • Cached Network Image: Efficiently loads and caches remote images for offline availability.

🔧 Versioning

  • Flutter SDK: 3.41.4
  • Dart Version: 3.11.1

🌐 API & Endpoints

The project parses data from the SpaceX API:

📚 References

⭐ Stargazers

If you find this project useful, 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.

About

This project is an application that utilizes the BLoC architecture pattern, Dio for network management, and Drift for local database storage.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages