Code generation for immutable classes that has a simple syntax/API without compromising on the features. (by rrousselGit)


Basic freezed repo stats
16 days ago

rrousselGit/freezed is an open source project licensed under MIT License which is an OSI approved license.

Freezed Alternatives

Similar projects and alternatives to freezed

  • GitHub repo Flutter

    Flutter makes it easy and fast to build beautiful apps for mobile and beyond.

  • GitHub repo hydro-sdk

    Author native Flutter experiences in Typescript and deliver updates directly to users over the air and out of band

  • GitHub repo dart-petitparser

    Dynamic parser combinators in Dart.

  • GitHub repo flutter_jokes

    A Flutter application to be the life of the party.

  • GitHub repo apollovm_dart

  • GitHub repo mobile-test

    Test for native mobile app development in iOS or Android

  • GitHub repo dart_rubyparser

    A parser for a subset of Ruby written in Dart

  • GitHub repo freezed_sample

    A sample command-line application to test the Freezed package.

NOTE: The number of mentions on this list indicates mentions on common posts. Hence, a higher number means a better freezed alternative or higher similarity.


Posts where freezed has been mentioned. We have used some of these posts to build our list of alternatives and similar projects - the last one was on 2021-04-26.
  • How to deserialize a union type from JSON | 2021-05-04
    I tried to follow the JSON section on the freezed pub dev page. I do not understand it though. It uses a Map which doesn't fit in here (I think), as the value I want to deserialize is either an array or a string.
  • Handling errors with ChangeNotifier.
    use or use
  • React to Flutter: One Developers Journey — Part 1 | 2021-04-26
    From then we spent many months refactoring the app, going through all our code section by section implementing the domain-driven approach, adding in packages like freezed to help with null-safety, adding in pedantic for stricter code style and structure controls, and naturally tests, lots and lots of tests.
  • Kotlin Multiplatform vs Flutter: Which One to Choose for Your Apps | 2021-04-20
    To write Flutter apps, you need to program in Dart. Dart is a C/Javascript/Java-like programming language, that may be very familiar if you have previous contact with some of these languages. New features like sound null safety makes Dart even closer to Kotlin and Swift. But make no mistake: to have modern language features like sealed classes, inline classes you may need to use code generators (Take a look at Remi Rousselet's Freezed as an example of generated code in Flutter).
  • How to start using Riverpod, StateNotifier and Freezed in your Flutter applications. | 2021-04-14
    In this article I am going to focus on how a project can be structured using Riverpod,StateNotifer and Freezed together to create the complete flow of state management.
  • Eight years ago, I wrote a Ruby parser in Dart which I recently rediscovered and now ported to sound null-safety. With < 1000 LoC for the parser plus 1000 LoC to transpile Ruby to Pseudo-Dart it might be an interesting example. For fun, I added a simple evaluator that only supports the fibonacci fn. | 2021-04-13
    Dart has both through the freezed package
  • is the null safety by default a mistake ? | 2021-04-01
    Another useful pattern is union types, such as with Freezed
  • Announcing Flutter 2
    People like to claim Dart is not on the same level as Kotlin. I disagree. I use Kotlin professionally but I like Dart and think it is almost the same, Kotlin has only very minor advantages, like sealed classes - which Dart can emulate with codegen libs like, while Dart has some things it does better too: compiles to native or runs interpreted/JIT (kotlin native is alpha quality currently, Dart Native has been mature for a few years), build tool is integrated with it much more nicely than Kotlin/Gradle, testing framework is native to the language and more non-sense than KotlinTest bullshit, and the huge advantage of course is Flutter 2, making the same Dart codebase run on Windows/Mac/Linux/iOS/Android which is huge.
  • How to generate even more code with Freezed | 2021-01-25
    But as I always say, read the documentation of Freezed, this is a small introduction so that you know what it is about, what you can do and above all, lose your fear to explore it.