freezed
bloc
freezed | bloc | |
---|---|---|
45 | 56 | |
1,935 | 11,857 | |
- | - | |
8.8 | 9.1 | |
20 days ago | 11 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.
freezed
-
Streaming Real-Time Data in Flutter: A Step-by-Step Guide for Developers
Freezed Package: Add the Freezed package to simplify data class creation and immutable state management.
-
Build a Personal Target Tracking Application with Flutter Riverpod and Strapi GraphQL
Incorporating Riverpod with Freezed for Immutable State Management: To leverage Riverpod alongside Freezed in your Flutter project for even more robust state management, you'll be enhancing components like GoalNotifier to efficiently handle immutable state. Freezed complements Riverpod by enabling the use of immutable objects in Dart, which aids in making your state management more predictable and safer.
-
Dart 3.3
There is the `sealed` class modifier which allows for exhaustive matching on possible types: https://dart.dev/language/class-modifiers#sealed
There's also a package called freezed which offers similar utility (you might already be familiar with this seeing as you mentioned pattern matching): https://pub.dev/packages/freezed
I recall there being a reason unions aren't generally implemented, though I'm not sure where I read it. It was to do with union types being unnecessarily complex for the compiler and the code they tend to produce, at no real benefit to the programmer or the resulting program. Go's lack of unions is essentially based around the same reasoning.
-
Fluvera is a Flutter SDUI package designed to simplify the process of building user interfaces (UIs) based on JSON server responses.
Interesting. May I ask how this differs from something like Freezed https://pub.dev/packages/freezed and its from/ToJson features ? I haven't used it yet, but I'm just curious about the concept and use of these sort of packages.
-
Dart 3.0: Best New Features & Why You Should Care
The official site does show what you can use it for but to explain a bit more, it helps you work faster.
-
🎉 Introducing MODDDELS: A Powerful Package for Robust, Self-Validated Models in Flutter & Dart
One rather minor suggestion: it took me a while to understand exactly what the benefits were, but the example shown on this page of the docs summarized it well. I would suggest showing an example like that at the top of the main Readme and first page of the site, before or right after the motivation section, similar to how Freezed immediately shows its value proposition.
-
Maximizing Your Flutter App's Performance with (Async)NotifierProvider, Freezed & Riverpod Code Generators
Read more on what you can do with Freezed.
-
Class Constructor Plugins- Are there any?
freezed on pub.dev
-
Firestore partial doc updates and type safety
We use freezed for our models, and then use withConverter in the firestore SDK to easily translate between firestore and our models... however we run into issues with concurrent updates to documents.
-
🚀 Building a Fullstack App with dart_frog and Flutter in a Monorepo - Part 2
Once the package has been created, we will install freezed for JSON serialization and value equality , as this library provides helpful tools for these tasks. We will use json_serializable for JSON serialization. To install freezed and freezed_annotation, open your terminal inside the models package and use the command:
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?
json_serializable.dart - Generates utilities to aid in serializing to/from JSON.
riverpod - A reactive caching and data-binding framework. Riverpod makes working with asynchronous code a breeze.
flutter_gen - The Flutter code generator for your assets, fonts, colors, … — Get rid of all String-based APIs.
mobx.dart - MobX for the Dart language. Hassle-free, reactive state-management for your Dart and Flutter apps.
flutter-fake-data-factory-pattern
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 - Flutter makes it easy and fast to build beautiful apps for mobile and beyond
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.
language - Design of the Dart language
zustand - 🐻 Bear necessities for state management in React
dart-petitparser - Dynamic parser combinators in Dart.
rxdart - The Reactive Extensions for Dart