Flutter Freezed Code Generation - Data Classes, Unions/Sealed Classes, & Bloc Tutorial

preview_player
Показать описание
» Flutter courses, writeups, and source code on Launch Club 🧠

» Flutter Job Board 👋

Code generation will take your Flutter app development process to the next level. In this video, you'll learn how to use Freezed to generate data classes and unions to greatly reduce the amount of boilerplate code in your apps.

» Resources 📂

» Remember to like, subscribe, comment, and share this video!🚨

» Socials📱

» Timestamps 🕒
0:00 Flutter Freezed Code Generation Intro
0:24 Normal User Model
0:39 Equatable
0:51 copyWith
1:14 toJson & fromJson
1:24 VSCode Extension - Dart Data Class Generator
1:58 Freezed Package
3:06 Generate Code
3:34 Freezed toJson & fromJson
4:07 Freezed Custom Methods
4:34 Data Model Relationships
5:10 Serialize Nested Lists of Freezed Objects
5:26 Freezed Unions/Sealed Classes
5:30 Flutter Bloc
6:18 Freezed & Bloc
7:13 Pattern Matching with .when
7:32 Thanks for watching 🙏

» Affiliates 🔥

» Music 🎶

#Flutter #Freezed #CodeGeneration
Рекомендации по теме
Комментарии
Автор

Marcus, you are one of my fav Flutter tutor here in youtube, always quality content, lot's of different and interesting topics. Keep it up!

Автор

The best explanation I've ever seen. Thank you so much. especially nested JSON array serialize part is awesome.

beratdinckan
Автор

I am actually very happy to know that you are active again. You're the best 😘

Ahmedibrahim
Автор

shortest freezed tutorial and the best too 🔥...this video is underrated

davidagyakwa
Автор

Your explanation is awesome! It's so detailed but at the same time so concise. I loved it, you earned a new follower, and ain't easy to get me as one. Thank you so much for such good job.

shirosanchez
Автор

awesome this is going to save me a lot of time, great tutorial!

burntleaves
Автор

Marcus you are the best! Im sad that you are not uploading as often as before

tananga
Автор

Marcus your explanation are making easy to understand bloc.

Please.please make full video on bloc statemanagement .it would be so easy to understand from you.
Please

sushilgyawali
Автор

This is a wonderful video. Thank you so for this great work.

atlantis_expedition_member
Автор

Excellent! The instructional video is concise with detail explanations. Thank you so much.

quangle
Автор

That was really awesome tutorial to understand freeze kudos man ....

jaanaan
Автор

Combine with fpdart will make your app and code even faster :)

mibi
Автор

When something new on launchclub will be release? Your bloc instagram course was awesome. I need more

tananga
Автор

Thanks for the tutorial, but why do I feel like this is over complicating things than simplifying them

abdimussa
Автор

Nice tutorial. What extension did you use to highlight error explanation at right side of the error line?

Megapows
Автор

Riverpod vs bloc, which one would you choose?

dedykurniawan
Автор

thanks, what to do if the freezed file just isnt generated?

TYNEPUNK
Автор

This is the most outstanding of videos. Marcus does the freezer format that you use for classes have the same functionality as Equatable. Can I stop using Equatable and not have to worry about equality while using Freezed?

George-oruv
Автор

Hey, I'm interested on how you make bottom nav bar, do you mind to make one tutorial of it ?

casul-
Автор

Hi Marcus, thank you for the tutorial. I'm beginners and your video helps me a lot. Would you make more tutorial about BLoC in the future? (and please upload it in this channel hehe) Thank you.

RizkyRamadhan-huof
visit shbcf.ru