Flutter Bloc Library Tutorial - Counter App

Опубликовано: 04 Октябрь 2024
на канале: Rabee Omran
25,919
820

في هذا الفيديو سنتعرف على Flutter BLoC State Management ماهي وكيف تعمل وكيف نستخدمها وسنقوم ببناء تطبيق بسيط وسنتعرف فيه على اساسيات التعامل مع هذه المكتبة العظيمة.

Source code :
https://github.com/Rabee-Omran/Flutte...

Facebook page :
  / rabeeomran.developer  

Facebook account :
  / rabeeomran2  

LinkedIn account :
  / rabeeomran  

00:00 Intro
00:18 About the video, what will we build?
00:45 How does the bloc work?
02:45 Libraries and extensions we need
03:14 Initial project
03:56 Create bloc files
05:19 Write bloc events
05:58 Write bloc States
06:37 Implement bloc
10:57 Provide the bloc to the widget tree
12:17 Using bloc (BlocBuilder)
15:09 Using bloc - BlocProvider (Add events)
16:22 Using context.read() extension
17:08 Test application
18:25 The end