filmov
tv
Flutter Bloc Library Tutorial - Cubit - Localization App

Показать описание
في هذا الفيديو سوف نتعرّف على الCubit ، ماهو وكيفية التعامل معه ومتى يجب استخدامه وما الفرق بينه وبين الBloc ، وسنقوم ببناء تطبيق يمكن للمستخدم من خلاله ان يقوم بتغيير لغة التطبيق من داخل التطبيق وحفظ هذه اللغة واعتمادها في التطبيق بشكل دائم إلى حين تغييرها مرة اخرى ، وسنتعرف على العديد من الميزات والخواص الخاصة بالBloc\Cubit.
BLoC vs Cubit :
Source code :
Facebook page :
Facebook account :
LinkedIn account :
00:00 Intro
00:27 About the video, initial project, what will we build?
03:24 How can we do this using BLoC?
05:12 How can we do this using Cubit?
05:40 BLoC vs Cubit
07:07 Implement Cubit
10:43 Write Cubit States
11:43 Continue implementing Cubit
13:40 Provide the bloc to the widget tree
14:53 Using BlocBuilder
17:17 Calling first function in Cubit (get app language)
18:24 Using MultiBlocProvider
19:45 Get initial value in dropdown
21:30 Calling second function in Cubit (change app language)
23:44 Test application
24:50 Using BlocListener
26:29 Using BlocConsumer
27:29 Improve Cubit States class
29:18 Test application
29:35 The end
BLoC vs Cubit :
Source code :
Facebook page :
Facebook account :
LinkedIn account :
00:00 Intro
00:27 About the video, initial project, what will we build?
03:24 How can we do this using BLoC?
05:12 How can we do this using Cubit?
05:40 BLoC vs Cubit
07:07 Implement Cubit
10:43 Write Cubit States
11:43 Continue implementing Cubit
13:40 Provide the bloc to the widget tree
14:53 Using BlocBuilder
17:17 Calling first function in Cubit (get app language)
18:24 Using MultiBlocProvider
19:45 Get initial value in dropdown
21:30 Calling second function in Cubit (change app language)
23:44 Test application
24:50 Using BlocListener
26:29 Using BlocConsumer
27:29 Improve Cubit States class
29:18 Test application
29:35 The end
Комментарии