dio
flutter-design-patterns
Our great sponsors
dio | flutter-design-patterns | |
---|---|---|
8 | 4 | |
11,371 | 1,636 | |
- | - | |
4.0 | 6.9 | |
about 1 year ago | 3 months ago | |
Dart | Dart | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
dio
-
[Official] Dio is no longer being maintained.
With no release in the last 6 months, piling up of issues and launch of a new fork (diox), I felt something was going on with dio. Sadly, today I came across an official announcement (updated on the project repo 2 days back):
-
Dio caching experience
You might want to think twice about dio....we evaluated dio on a recent project and decided to avoid it after running into a blocker when setting a custom timeout (this bug: https://github.com/flutterchina/dio/issues/1454)
- Dio, maintaining session
- NO_RENEGOTIATION error when trying to do HTTPS
- Dio – A powerful HTTP client for Dart
-
GetX is dead, what to use next?
- and Dio for http requests
-
Thoughts on creating a library with Dart for browser and node
I also had some troubles choosing which Dart HTTP client to use. I've started with dio, but when I tried to read one of our bigger JSON responses (~1.5mb) my browser tab froze (there seems to be an old issue describing the same behavior). After that I've switched to the default dart's http package and it is working fine but it doesn't have builtin requests abort/cancellation.
- How to rerun function if it return x?
flutter-design-patterns
-
4 - Composite
All of the code changes for the Composite design pattern and its example implementation could be found here.
-
1 - Singleton
💖 or 🦄 this article to show your support and motivate me to write better! 💬 Leave a response to this article by providing your insights, comments or wishes for the next topic. 📢 Share this article with your friends, colleagues in social media. ➕ Follow me on dev.to or any other social media platform. ⭐ Star the Github repository.
-
0 - Introduction
To demonstrate how the application displays design patterns, I have created a new branch in the repository. I will not merge it to the master branch later (it is only for demonstration purposes), but by using these changes I will explain how a new design pattern could be (and will be!) added to the application.
What are some alternatives?
getx - Open screens/snackbars/dialogs/bottomSheets without context, manage states and inject dependencies easily with Get.
dio - A powerful HTTP client for Dart and Flutter, which supports global settings, Interceptors, FormData, aborting and canceling a request, files uploading and downloading, requests timeout, custom adapters, etc.
graphql-flutter - A GraphQL client for Flutter, bringing all the features from a modern GraphQL client to one easy to use package.
clean-flutter-app - Aplicativo feito em Flutter usando TDD, Clean Architecture, Design Patterns e SOLID principles
sentry-dart - Sentry SDK for Dart and Flutter
flutter-design-patterns - Flutter Design Patterns mobile application [Moved to: https://github.com/mkobuolys/flutter-design-patterns]
bloc - A predictable state management library that helps implement the BLoC design pattern
Aureus - An open-source design system for non-profits to quickly develop user safety critical applications.
flutterfire - 🔥 A collection of Firebase plugins for Flutter apps.
plugins - Plugins for Flutter maintained by the Flutter team
centrifuge-dart - Dart (Flutter) client SDK for bidirectional communication with Centrifugo and Centrifuge-based server over WebSocket
esc_pos_printer - ESC/POS (thermal, receipt) printing for Flutter & Dart