dio
bloc
Our great sponsors
dio | bloc | |
---|---|---|
7 | 43 | |
11,258 | 10,046 | |
0.6% | - | |
5.1 | 9.2 | |
7 days ago | about 18 hours 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.
bloc
-
Flutter bloc pattern | color pallets app
Sources: Bloc: https://bloclibrary.dev color pallets: https://www.color-hex.com/color-palettes Code: https://github.com/codeReview-youtube/flutter_color_pallates
-
Feature-first architecture
Study bloc https://bloclibrary.dev
-
Keep track of data between pages
Hydrated Bloc is a helper library that extends on Bloc library. So, you need to be comfortable with Bloc first in order to use it.
- What's a resource all flutter dev's should have in their bookmarks?
-
Flutter Tutorial for Beginners | All In One
I would recommend you to learn another state-management package since the provider is not a perfect one. There are only two packages I recommend either Riverpod or Bloc. There are other packages too which are good but I would learn animation and designs instead of learning state-management one after another.
- Any open source example of an app that uses Bloc?
-
FlutterFire with Google Sign In not working for iOS
There's a dart code for the login flow in the authentication_repository.dart file in the GitHub repository.
-
State Management Flutter.
And this repo is an example of bloc state management: Flutter BloC
-
Smallest boilerplate state management library?
Which state management lib has the smallest boilerplate? I tried BloC but there is too much boilerplate for me, 7 files for the official counter example. I tried to use it yesterday, but I failed to adapt it as soon as I got two screens. Out of anger I started over with "globals.dart", which work well...
-
Flutter App Development Tutorial
I would recommend you to learn another state-management package since the provider is not a perfect one. There are only two packages I recommend either Riverpod or Bloc. There are other packages too which are good but I would learn animation and designs instead of learning state-management one after another.
What are some alternatives?
riverpod - A simple way to access state while robust and testable.
getx - Open screens/snackbars/dialogs/bottomSheets without context, manage states and inject dependencies easily with Get.
mobx.dart - MobX for the Dart language. Hassle-free, reactive state-management for your Dart and Flutter apps.
graphql-flutter - A GraphQL client for Flutter, bringing all the features from a modern GraphQL client to one easy to use package.
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
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.
zustand - 🐻 Bear necessities for state management in React
flutter-design-patterns - Flutter Design Patterns application
sentry-dart - Sentry SDK for Dart and Flutter
flutter-quill - Rich text editor for Flutter
MobX - Simple, scalable state management.
routemaster - Easy-to-use Navigator 2.0 router for web, mobile and desktop. URL-based routing, simple navigation of tabs and nested routes.