Flutter / Dart macros details explained - JsonCodable

  Рет қаралды 3,043

imaN NeO

imaN NeO

Күн бұрын

Пікірлер: 17
@martinseminsky8580
@martinseminsky8580 2 ай бұрын
Well, gentlemen, you didn't stop to amaze me yet.
@imaNNeO
@imaNNeO 2 ай бұрын
Thank you! I'm super happy that you like the content 💙
@MehranMohseni-p3z
@MehranMohseni-p3z 5 ай бұрын
"Wow, this Flutter tutorial is amazing! 🥳 The explanations are super clear, and the examples make it so much easier to understand.
@imaNNeO
@imaNNeO 5 ай бұрын
I'm super happy that you liked it! If you want to motivate me, you can share the channel with your friends! Cheers!
@MehranMohseni-p3z
@MehranMohseni-p3z 5 ай бұрын
@@imaNNeO I’ll definitely do it.
@r.i.c.o9820
@r.i.c.o9820 4 ай бұрын
They use import prefixes (such as prefix0) in generated code to avoid collisions in class names. So if you declare your own class called String, it wouldn't cause conflicts with dart core library because they will have different prefixes
@imaNNeO
@imaNNeO 4 ай бұрын
Nice! Thanks for sharing your valuable knowledge.
@msh_dev
@msh_dev 7 ай бұрын
The best thing is that when macros are fully released, Flutter and dart is going to be changed a lot for the better.
@imaNNeO
@imaNNeO 7 ай бұрын
Yes, that's a revolution in Dart and Flutter.
@hq_net
@hq_net 3 ай бұрын
thanx :)
@imaNNeO
@imaNNeO 3 ай бұрын
You're welcome 🤗 Don't forget to subscribe to the channel and watch other videos that I have 💙
@munawerali8045
@munawerali8045 7 ай бұрын
so if i want to access empty or copywith functions so, what can I do?
@imaNNeO
@imaNNeO 7 ай бұрын
You can use data_class package that uses macros: github.com/felangel/data_class
@whity2508
@whity2508 7 ай бұрын
Hope riverpod and freeze package can change to macro, It was so annoying to generate file😢
@imaNNeO
@imaNNeO 7 ай бұрын
Felix is working on data classes, so I think we don't need to use freeze anymore. Check it out here: github.com/felangel/data_class
@TekExplorer
@TekExplorer 7 ай бұрын
Freezed is itself being worked on for macro support as well. Notice that remi published a build as the dataclass package
@whity2508
@whity2508 7 ай бұрын
@@TekExplorer how about riverpod?
Flutter Freezed | Code Generation
7:29
Flutter Guys
Рет қаралды 6 М.
Flutter 3.27 and Dart 3.6 release review
29:15
imaN NeO
Рет қаралды 4 М.
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
Chain Game Strong ⛓️
00:21
Anwar Jibawi
Рет қаралды 41 МЛН
Bringing pattern matching to Dart
20:28
Flutter
Рет қаралды 39 М.
Fix a memory leak in Flutter (#148291)  | Building Flutter
1:06:27
Flutter Bounty Hunters
Рет қаралды 9 М.
Why I'm choosing FLUTTER in 2025! | Flutter roadmap 2025
13:40
SpeedKodi
Рет қаралды 1,3 М.
Simple and Advanced JSON Serialization in Flutter | JSON to Dart
11:07
Catch Exceptions in Flutter Like Never Before!
9:02
Rivaan Ranawat
Рет қаралды 22 М.
How I Became a Google Developer Expert (GDE)
5:03
Robert Brunhage
Рет қаралды 9 М.
What's new in Flutter
36:30
Flutter
Рет қаралды 214 М.
DHH discusses SQLite (and Stoicism)
54:00
Aaron Francis
Рет қаралды 105 М.
KMP vs. Flutter - Who Will Win The Cross-Platform Battle?
16:19
Philipp Lackner
Рет қаралды 62 М.
7 Outside The Box Puzzles
12:16
MindYourDecisions
Рет қаралды 117 М.
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН