dio
centrifuge-dart
Our great sponsors
dio | centrifuge-dart | |
---|---|---|
7 | 2 | |
11,258 | 82 | |
0.6% | - | |
5.1 | 0.8 | |
3 days ago | 8 days 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
-
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)
-
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.
centrifuge-dart
-
Updating flutter app data from REST API in real-time
Connect to it using https://github.com/centrifugal/centrifuge-dart or without any connector library using unidirectional transports: https://centrifugal.dev/docs/transports/overview#unidirectional. For authentication you can pass JWT issued by your Django backend or proxy connection attempt to Django backend ( like shown in this post https://centrifugal.dev/blog/2021/11/04/integrating-with-django-building-chat-application )
What are some alternatives?
getx - Open screens/snackbars/dialogs/bottomSheets without context, manage states and inject dependencies easily with Get.
graphql-flutter - A GraphQL client for Flutter, bringing all the features from a modern GraphQL client to one easy to use package.
flutter-design-patterns - Flutter Design Patterns application
sentry-dart - Sentry SDK for Dart and Flutter
bloc - A predictable state management library that helps implement the BLoC design pattern
flutterfire - 🔥 A collection of Firebase plugins for Flutter apps.
esc_pos_printer - ESC/POS (thermal, receipt) printing for Flutter & Dart
flutter_stripe - Flutter SDK for Stripe.
flutter_tflite - Flutter plugin for TensorFlow Lite
floor - The typesafe, reactive, and lightweight SQLite abstraction for your Flutter applications
ardrive-web - The ArDrive App allows a user to log in to securely view, upload and manage their ArDrive files with their browser or mobile phone.
tflite_flutter_helper - TensorFlow Lite Flutter Helper Library