Freezed (Package of the Week)

preview_player
Показать описание

Tired of writing tedious boilerplate for simple data classes? Try Freezed, a code generation package in Dart that can accelerate your development.

This video is also subtitled in Chinese, Indonesian, Italian, Japanese, Korean, Portuguese, and Spanish.

#PackageoftheWeek #Widgets #Flutter

product: Flutter - Development - User interface; fullname: Craig Labenz;
Рекомендации по теме
Комментарии
Автор

Nice, but would be good for Dart to actually implement data classes

Sominemo
Автор

You know the code generation packages are a huge crutch of a solution. And a clear sign of the language/framework missing something vital within itself. I hope your team will be able to get rid of the necessity to use such kinds of hacks that overcomplicate our codebases with 3rd party syntax

SunFoxx_
Автор

I’ve always preferred the Dart Data Class VS Code extension

Edit: the author deleted the extension... however there are multiple reuploads

BooleanDev
Автор

Sadly the package used to get rid of boilerplate requires quite a bit of boilerplate.. It also seems way less readable than most alternatives..

Masus
Автор

I have not used freeze package before though....I always thought it's was way complicated than the problem it's was trying to solve.. However, thanks to this clip...I think I play round with it...

ezeaguprincewill
Автор

We just can't thanks this beautiful community of flutter they are making so much valuable content today flutter release was amazing....

officialismailshah
Автор

You have no idea how many people were waiting for this!!

patibandasriram
Автор

I prefer a vscode extension that generates everything instantly and without the need of any dependency

wdestroier
Автор

For me the biggest advantage of freezed wasnt even mentioned in this video. Freezed classes work like kotlin's sealed classes that allow for exhaustive case comparison. That really can fix bugs at compile time. Less debugging weird bugs, more happy coding.

schinsky
Автор

Cool to see that Remi's work is being appreciated even by the Flutter team... way to go!! <3

venir_dev
Автор

I don't know why, but it's a little surprising that flutter introduces freezed.

pkwiedg
Автор

I think Dart data class extension in Vs Code can be excellent alternative for freezed

ilyosbekibrokhimov
Автор

Thank you flutter you guys really make the job simpler

joeyreddick
Автор

We need discriminated unions and pattern matching in dart. These alone would remove the need for some much boilerplate and code generators.

daviidon
Автор

Hrmm looks like a lot of people here are pointing out that this is a more complicated of the data class extension, however don't take into account that freezed allows for sealed classes and unions which are essentially a language feature that dart is lacking

johnnynguyen
Автор

Or I can simply install an extension like dart data class to generate these. Much easier than freeze i guess.

sampathnarayanan
Автор

Please go to the next door where Kotlin devs sit and ask them how to add Data classes. Thank you ❤️

kirill
Автор

Awesome, I was just thinking about this!! :D

cardboard
Автор

Awesome. But still a boilerplate left on this solution. Data classes is far away a better solution for dart language

bdmaxvalera
Автор

Thanks for this amazing package Remi Rousselet 💙

its_me_mahmud