dio
bloc
Our great sponsors
dio | bloc | |
---|---|---|
8 | 56 | |
11,371 | 11,385 | |
- | - | |
4.0 | 9.2 | |
about 1 year 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
-
[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?
bloc
-
Comprehensive set of Flutter resources:
BLoC Library - Learn how to use the BLoC pattern for state management
-
Why shouldn't blocs reference other blocs?
[Copied from https://github.com/felangel/bloc/issues/4002]
-
BloC infinite scrolling example returns duplicates?
I've recently ported my project to BloC and I used the BloC infinite scrolling example as a blue print for fetching data from my FireStore repository.
-
[Research] Your Flutter Stack
Architecture: Repository pattern as described on bloclibrary.dev
-
Surrounded by flutter state managements
Vs Code has this extension, that can generate all boilerplate code that you need, and everything about bloc has been documented right here. Take a day or two, to familiarize yourself with the examples.
-
I'm very proud to announce the first developer preview of solidart 1.0.0 ✨. Check the CHANGELOG. The developer experience improved a lot 🚀
Looks solid, congrats! This is probably a huge ask but, flutter_bloc has this repository of examples covering almost every imaginable use case. Would be really great to have something similar. Check it out > https://github.com/felangel/bloc/tree/master/examples
-
🎉 Introducing MODDDELS: A Powerful Package for Robust, Self-Validated Models in Flutter & Dart
From this issue on the bloc package :
-
What are your thoughts on RxDart and Reactive Programming in flutter in general ?
Check out https://bloclibrary.dev I think they do decoupling the best
-
Self learners, which materials did you use to learn Dart language?
https://bloclibrary.dev taught me a bunch
- Flutter mentor
What are some alternatives?
getx - Open screens/snackbars/dialogs/bottomSheets without context, manage states and inject dependencies easily with Get.
riverpod - A reactive caching and data-binding framework. Riverpod makes working with asynchronous code a breeze.
graphql-flutter - A GraphQL client for Flutter, bringing all the features from a modern GraphQL client to one easy to use package.
mobx.dart - MobX for the Dart language. Hassle-free, reactive state-management for your Dart and Flutter apps.
flutter-design-patterns - Flutter Design Patterns application
get_it - Get It - Simple direct Service Locator that allows to decouple the interface from a concrete implementation and to access the concrete implementation from everywhere in your App. Maintainer: @escamoteur
sentry-dart - Sentry SDK for Dart and Flutter
cubit - Cubit is a lightweight state management solution. It is a subset of the bloc package that does not rely on events and instead uses methods to emit new states.
flutterfire - 🔥 A collection of Firebase plugins for Flutter apps.
zustand - 🐻 Bear necessities for state management in React
centrifuge-dart - Dart (Flutter) client SDK for bidirectional communication with Centrifugo and Centrifuge-based server over WebSocket
rxdart - The Reactive Extensions for Dart