Рет қаралды 2,903
في هذا الفيديو سوف نتعرف على الFreezed package ماهي ؟ وكيف نتعامل معها ونستخدمها مع الBLoC وسنرى فائدتها وكيف توفر علينا الكثير من الوقت والجهد وذلك من خلال مثال عملي يتعامل مع API.
Flutter Bloc Library Tutorial - Todos App | Fetching Data From API
• Flutter Bloc Library T...
Flutter Bloc Library Tutorial - Bloc Observer | Debug and Observe your Bloc Easily
• Flutter Bloc Library T...
Commands :
flutter pub run build_runner build --delete-conflicting-outputs
flutter pub run build_runner watch --delete-conflicting-outputs
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, what is it? How do we deal with it and use it with BLoC, also we will see its usefulness and how it saves us a lot of time and effort, through a practical example that deals with the API.
Source Code | github.com/Rabee-Omran/Flutte...
Timeline
00:00 Intro
00:38 About the video, initial project
01:14 About Freezed, install required packages
04:24 Install freezed_bloc VS Code extenstion
05:30 Create freezed bloc
05:58 Bloc Events (Freezed)
11:34 Bloc States (Freezed)
13:15 Generate code
17:09 About Generated file
18:20 The end
Social Media: Follow Me :-)
Facebook Account | / rabeeomran2
Facebook Page | / rabeeomran.developer
LinkedIn | / rabeeomran
GitHub | github.com/Rabee-Omran
#dart #flutter #tutorial #RabeeOmran #Freezed #BLoC
Like & Share & Activate The Bell
Thanks For Watching :-)