flutter_redux VS bloc

Compare flutter_redux vs bloc and see what are their differences.

flutter_redux

A library that connects Widgets to a Redux Store (by brianegan)

bloc

A predictable state management library that helps implement the BLoC design pattern (by felangel)
Our great sponsors
  • Appwrite - The Open Source Firebase alternative introduces iOS support
  • SonarQube - Static code analysis for 29 languages.
  • Scout APM - Less time debugging, more time building
flutter_redux bloc
2 25
1,546 9,015
- -
3.4 9.5
12 days ago 7 days ago
Dart Dart
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

flutter_redux

Posts with mentions or reviews of flutter_redux. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-02-11.

bloc

Posts with mentions or reviews of bloc. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-04-24.
  • A Bloc extension to create finite-state machines ๐Ÿค– Feedbacks welcomes ๐Ÿ’™
    2 projects | reddit.com/r/FlutterDev | 24 Apr 2022
    If you compare the bloc's infinite list example with its re-implementation using the state machine, you'll notice that the bloc version relies on a "complex" (the example is trivial) function with lots of conditions while the state machine version is just a bunch of logic-less transitions.
  • Why Bloc + Freezed is a match made in heaven
    2 projects | dev.to | 23 Apr 2022
    I'm a big fan of the Bloc library for Flutter apps, and when coupled with the freezed package for creating immutable data classes and sealed unions, I think this pattern really shines.
  • Testing app with Hydrated and Hive.
    1 project | reddit.com/r/FlutterDev | 31 Mar 2022
    Hey you can check out the flutter_weather example. It uses HydratedBloc and is unit and widget tested. Hope that helps!
  • What is the best resource to learn Flutter BLoC?
    1 project | reddit.com/r/flutterhelp | 18 Mar 2022
  • Flutter Bloc
    1 project | reddit.com/r/FlutterDev | 3 Feb 2022
  • How you organize your code?
    2 projects | reddit.com/r/FlutterDev | 26 Jan 2022
    Multi-module Monorepos (layered architecture ) every example on the Bloc documentation is organized that way https://bloclibrary.dev join the discord for further help :)
  • State Managers : setState x ValueNotifier
    1 project | dev.to | 30 Dec 2021
    State Management; probably the most controversial subject in the Flutter community. I remember when I started learning Flutter, Provider was the cool kid that everyone was recommending. Simple syntax, very detailed error messages, built on top of InheritedWidget, it was even featured on the official flutter docs, why would you even choose something else? I mean they got the Approved By Google badge, that's probably the highest status a package could get in the community ๐Ÿคก. Then came Bloc, personally, I don't know which one came first but I started hearing about Bloc a bit later after Provider. Bloc was making use of Stream which was something I always avoided because I didn't know much about how to handle streams. Bloc was and still is awesome when it comes to building big scalable apps, I am not saying that you can't do that with Provider, but Bloc seemed to specifically target that kind of project and it was providing many built-in tools for a seamless developer experience. Some would argue that there is too much boilerplate, well as long as it does the job and does it well, you can go for it.
  • Are there any 3rd party State Management libs for Jetpack Compose?
    10 projects | reddit.com/r/androiddev | 26 Dec 2021
    Hi there! I googled a lot before asking this question but unfortunately I did not find an answer. I developed few Flutter apps using libs like Riverpod and Bloc because native way of state management was not very flexible/scalable for me. Are there any similar libs for Jetpack Compose? Thank you.
  • Top 10 Flutter libraries you should know in 2021
    7 projects | dev.to | 20 Dec 2021
    Bloc is a predictable state management library that helps to implement the Business Logic Component (BLoC) design pattern.
  • Why does a single Flutter input field literally take hundreds of lines of code? Does anyone have a clean solution?
    1 project | reddit.com/r/FlutterDev | 20 Sep 2021
    You seem to be handling validation in the widget itself, you may wanna try take that logic out to a separated component (Bloc, ViewModel, Presenter, whatever youโ€™re using for state management) this will clean things off while making it easy for you to edit/extend in the future as the validation wonโ€™t depend on the widget but the other way around, your widget will depend on the validation state. Check this example using Bloc: https://github.com/felangel/bloc/tree/master/examples/flutter_login

What are some alternatives?

When comparing flutter_redux and bloc you can also consider the following projects:

riverpod - A simple way to access state while robust and testable.

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.

mobx.dart - MobX for the Dart language. Hassle-free, reactive state-management for your Dart and Flutter apps.

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

flutter-quill - Rich text editor for Flutter

routemaster - Easy-to-use Navigator 2.0 router for web, mobile and desktop. URL-based routing, simple navigation of tabs and nested routes.

zustand - ๐Ÿป Bear necessities for state management in React

MobX - Simple, scalable state management.

dio - A powerful Http client for Dart, which supports Interceptors, FormData, Request Cancellation, File Downloading, Timeout etc.

flutter_getx_timetracker - Timetracker created with Flutter and GetX framework

FlutterBleLib - Bluetooth Low Energy library for Flutter with support for simulating peripherals