Тёмный

Bloc Library: Basics & Beyond - Felix Angelov | Flutter Europe 

Flutter Europe
Подписаться 17 тыс.
Просмотров 58 тыс.
50% 1

Flutter is capable to run on multiple form factors and operating systems. Although desktop support is still in the experimental phase, there are some use cases where Flutter for desktop may be a viable option for greenfield projects.
In this talk, you'll learn what is the current state of the Flutter desktop embedding project, how to configure a simple cross-platform desktop app and create your own plugin. Dominik will show what are the most serious limitations and what to expect in the upcoming months.
Speaker: Felix Angelov ( / felangelov )
****************************************************
Flutter Europe → fluttereurope.dev
Follow us on Twitter → / fluttereurope
Follow us on Facebook → / fluttereurope
All talks → • Flutter Europe talks
****************************************************
Learn Flutter → flutter.dev

Опубликовано:

 

4 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 89   
@notmtp566
@notmtp566 Год назад
For those who learning Bloc this is the only video you need !!!
@filipsavic2165
@filipsavic2165 4 года назад
Thank you (all) so much for an amazing library and a matching talk! It is both a good overview and a good learning material! Here are the timestamps: 00:00 - Intro & About 01:34 - Goals for the library 02:41 - BLoC overview 03:20 - Counter Application example 04:00 - Coding (starting from dependencies) 06:22 - Bloc in Action 07:50 - Async 10:40 - Testing 12:47 - Testing (One more time) 13:35 - Async Tests 15:40 - flutter_bloc package 16:10 - coding 16:55 - Bloc Provider 18:20 - dispose() 19:15 - Multiple Blocs 20:05 - Bloc Builder 21:57 - Async Bloc Builder 23:42 - Overview (diagram) 24:25 - Side effects (SnackBars) 26:10 - BlocConsumer (listener and builder) 27:05 - predictability (bloc: onEvent) 28:45 - bloc: onTransition (old state, event, new state) 29:25 - bloc: onError 30:52 - BlocDelegate 32:40 - maintainability (VS Code & IntelliJ plugins for easier code generating) 33:30 - documentation @ bloclibrary.dev 35:10 - hydrated bloc (caches state after app is killed) 35:37 - dependencies and coding 39:20 - a nice guy saying a big thanks (i'm sure he's speaking for all of us) ....:.... - questions
@kshitijjain4852
@kshitijjain4852 4 года назад
I love the people who make timestamps like these. Thanks!
@filipsavic2165
@filipsavic2165 4 года назад
Thanks man! I'm happy to help :)
@1wisestein
@1wisestein 3 года назад
There should be a special place in heaven for commenters who breakdown videos into timestamps like this.
@filipsavic2165
@filipsavic2165 3 года назад
Hahaha :D Thank you! I hope someone up there loves timestamp comments too :D
@pritesh55s
@pritesh55s 3 года назад
@@filipsavic2165 We love timestamp comments ......
@PrinceDVII
@PrinceDVII 4 года назад
Great presentation, straight to the point. Thanks Felix!
@mradityapatnaik
@mradityapatnaik 4 года назад
In just 7.5 minutes this video manages to explain a complex concept like bloc!
@aytunch
@aytunch 4 года назад
It's crazy. I just asked for this video in another talk 10 mins ago:) Thanks Flutter Europe and Felix
@aaklii
@aaklii 4 года назад
Felix Angelov's Bloc Library + Marcin Szałek 's Complex UI = Magic
@davidacevedo8891
@davidacevedo8891 4 года назад
Not all heroes wear capes, thanks for making this library :)
@krishnakumarramachandran5888
@krishnakumarramachandran5888 4 года назад
Thanks Felix Bro, I like your Bloc Package. This is the first time i'm watching long video in RU-vid. Now i understand Bloc concepts. Thanks for the Great Talk and Great Package.💙
@LexPrimost
@LexPrimost 4 года назад
This guy ! a genius. thanks to you and the team behind the library
@kevinliu6002
@kevinliu6002 4 года назад
Amazing library! I am going to start using bloc_test now. Hats off Felix!
@thomasmabika7291
@thomasmabika7291 4 года назад
oh snap, Felix Angelov?? Reso Coder is going to be so happy!
@ResoCoder
@ResoCoder 4 года назад
I was at the conference lol 😂
@santoshtemp5834
@santoshtemp5834 4 года назад
@@ResoCoder Really?
@aaklii
@aaklii 4 года назад
@@santoshtemp5834 Marcin was a speaker: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-FCyoHclCqc8.html
@diogosequeira4873
@diogosequeira4873 3 года назад
@@ResoCoder you need to be a speaker on the next one ahha
@rhodyborn
@rhodyborn 3 года назад
Wow, really good talk. Understood exactly what was happening and applicable way in which the package could be used!
@noname85808
@noname85808 4 года назад
Great libraries, thanks Felix!
@Collins01
@Collins01 2 года назад
Now I understand how the BLOC works, thanks .
@RishabhAgrawal804
@RishabhAgrawal804 3 года назад
One of the best talk 👏
@stephenopokudamoah
@stephenopokudamoah 3 года назад
Great presentation! I just fell in love with bloc and flutter_bloc!
@verryondrums
@verryondrums 4 года назад
Really great talk! First time I don't have to watch a video with 1.5 or 2.0 times increased speed =D! Thanks for sharing
@hydernotes
@hydernotes 4 года назад
because he is already speaking too fast?
@verryondrums
@verryondrums 4 года назад
@@hydernotes speaking speed is perfect 👌
@zeorjvistr6245
@zeorjvistr6245 3 года назад
True
@chrislamont7529
@chrislamont7529 3 года назад
First time I've had to slow it down 😅
@verryondrums
@verryondrums 3 года назад
@@hydernotes perfect speed =D
@nivellemendiola5039
@nivellemendiola5039 4 года назад
thank you so much for making bloc easy to work for us
@daanielacosta2395
@daanielacosta2395 3 года назад
Yesterday i expend like 6 hours trying tu understand Bloc library, it would been easier if i saw this video before. Great explanation and great set of libraries! :D
@ekoprasetyo3999
@ekoprasetyo3999 3 года назад
Yes, me too. Because he is the creator of bloc.
@Qizot
@Qizot 4 года назад
Besides the talk about advanced UI/UX in flutter this is the second best so far
@chetanchoudhary08
@chetanchoudhary08 4 года назад
amazing presentation, liked it
@kiyotaka627
@kiyotaka627 4 года назад
this package is amazing, if you are not using it I highly recommend it
@youssifgamal8545
@youssifgamal8545 2 года назад
great video , great explanation , great presenter
@danghaile5528
@danghaile5528 4 года назад
This package is amazing !
@GodfatherOfKcontent
@GodfatherOfKcontent 3 года назад
A gem 💎
@DungNguyen-ex8rh
@DungNguyen-ex8rh 3 года назад
very great content, an amazing package
@metix1365
@metix1365 3 года назад
Amazing!!
@theonlyarjun
@theonlyarjun 4 года назад
he said all that in one breath
@mr.happydev6603
@mr.happydev6603 2 года назад
Tum yahan bhi ho , shi hai
@mderis
@mderis 4 года назад
Thanks, enjoyed it,
@coolprashantmailbox
@coolprashantmailbox 4 года назад
Thanks Felix
@kozimjonkholmirzaev4701
@kozimjonkholmirzaev4701 3 года назад
great job
@Rissmon1
@Rissmon1 3 года назад
Super talk 😃😃
@theGoldyMan
@theGoldyMan 4 года назад
that baby Yoda blink :) , great presentation.
@YaoBinThen
@YaoBinThen 4 года назад
Great explanation, was skeptical with using bloc due to the complexity when I first learning it, and stuck with provider all this while, now I'm sold with bloc. Thanks!
@thomasmabika7291
@thomasmabika7291 4 года назад
same here, are you going to switch tho? I'm 50% into my project, and I'm like...man, bloc isn't really as bad as I thought.
@YaoBinThen
@YaoBinThen 4 года назад
@@thomasmabika7291 I'd definitely bring it into my projects whenever I need it
@YaoBinThen
@YaoBinThen 4 года назад
Update: I’m on bloc! And cubit too! This is exciting
@majdkazmoz4434
@majdkazmoz4434 4 года назад
This man amazing
@GJJ2019
@GJJ2019 3 года назад
best talk ever
@khalidmahmud8664
@khalidmahmud8664 3 года назад
really helpful....
@itsLarryAlright
@itsLarryAlright 4 года назад
Wow nice presentation straight to the point. Now if we can have live sessions or maybe a channel that could show how you build complex apps with multiple pages. I will be happy to check other peoples channel too if you have any.
@elsaiedsamaka7373
@elsaiedsamaka7373 4 года назад
felix, i love u
@mallikarjunreddy5229
@mallikarjunreddy5229 4 года назад
Hey @Felix, How can i create my own generator, as you implemented an extention for bloc to get boilerplate code with dart files even, state and bloc.dart files. I am very helpful on the solution which you guys provided. Thanks
@fluttermakers
@fluttermakers 2 года назад
Please explain my practical on the favorite button. Thank you for your great efforts
@lucifer6099
@lucifer6099 4 года назад
Amazing content! I am a bigger fan of bloc and Flutter in general after this xD PS- Am I the only one to notice that hydrated_bloc example started incrementing with 0 ( 37:55 ) and not with the state it maintained ( 3 in this example) ?
@Felangelov
@Felangelov 4 года назад
Aayush Malhotra that’s just because the gif is playing on a loop haha. You’ll notice it starts back up at 3 and then goes to 0.
@lucifer6099
@lucifer6099 4 года назад
@@Felangelov ohhh ok. Haha it almost got me. Really excited to see what's next from you guys.
@justinprakashraj6256
@justinprakashraj6256 Год назад
Bloc ❤️
@lukasz.debowski1
@lukasz.debowski1 3 года назад
Great talk :) One question comes to my mind: isn't using BlocListener kind of breaking the rule of decoupling the UI from business logic? If we want to do some side action in response to state change, doing so in a UI code (such as the BlocListener widget used in the build method of some StatelessWidgget) is meh. Wouldn't doing those kind of actions fit better inside the bloc itself so that we can test that easly and truly separate UI from business logic? (such as showing a snackbar and what not, that is business logic imo)
@jazimabbas8168
@jazimabbas8168 3 года назад
can anyone tell me about where i can found some useful resources of rxdart with flutter_bloc ??
@keanuhero303
@keanuhero303 4 года назад
Missed opportunity to call TheChild as ChildThe.
@xaxababa6616
@xaxababa6616 4 года назад
When to use Equatable with Bloc? I see a lot of people using Equatable with Bloc and I am not sure what it does actually
@aaulia
@aaulia 4 года назад
Equatable is basically a poor man data class. It override Type's equality operation so that instead of comparing the instance reference, it compares the content instead. So two separate instance of the same Type is equal if both have the same content/data. It's okay-ish, and it works, and less hassle to setup. But personally, coming from Kotlin, I'd rather use something like built_value or freezed.
@satyamdubey4529
@satyamdubey4529 3 года назад
He is already in 1.5x speed mode
@be_like__prateek
@be_like__prateek 2 года назад
Knowledgable
@TheMr82k
@TheMr82k 4 года назад
woah I just created a bloc pattern for myself and never noticed that this library had is doing almost everything exactly the same
@keanuhero303
@keanuhero303 4 года назад
Purple Candy Same we’ve created our own BLoC pattern and I think it’s pretty great but this package could be a lot more useful
@TomasAugust
@TomasAugust 4 года назад
22:05 first code line - replace int with CounterState ?
@Felangelov
@Felangelov 4 года назад
Tomas August yup good catch!
@prashanthongal1641
@prashanthongal1641 3 года назад
Hi can you please share GitHub link for this ?
@vinceramcesoliveros6739
@vinceramcesoliveros6739 4 года назад
Bloc isn't that hard nor is it verbose for a large app... If you've learned Provider, you're comfortable using Bloc by Felix for larger applications. Having a counter app tutorial doesn't leverage the full features of Bloc itself. Having too complex tutorial like Todos fits for the job, but beginners will have a hard time following it due to huge chunks of code to be followed. Just to take note. State Management solves particular usecase. Bloc + Provider + Abstraction for me is the best combination.
@kantulaev
@kantulaev 4 года назад
39:30 simple voice 😁
@sunilk9760
@sunilk9760 3 года назад
Provider works well
@elsaiedsamaka7373
@elsaiedsamaka7373 4 года назад
hi, can any one provide the source code of these examples he talked about?
@Felangelov
@Felangelov 4 года назад
The slides and source code can be found at github.com/felangel/bloc_library_basics_and_beyond 👍
@azackmatoff2570
@azackmatoff2570 3 года назад
The author of bloc, flutter_bloc
@peter-ql7gi
@peter-ql7gi 3 года назад
"very very good ventures"?
@rockypkr9348
@rockypkr9348 2 года назад
doesnt it voilate closed and open principle?
@petroniobonavides3530
@petroniobonavides3530 4 года назад
@Flutter Europe Hello, Bloc is cool but GetX is more efficent in my oppinion. GetX has State simple/reactive management(without codegen), route Management and Dependencies management 3-IN-1. This is a hidden and powerfull tool that nobody talks about. Some conten about would be great.
@itsLarryAlright
@itsLarryAlright 4 года назад
Wow nice presentation straight to the point. Now if we can have live sessions or maybe a channel that could show how you build complex apps with multiple pages. I will be happy to check other peoples channel too if you have any.
@itsLarryAlright
@itsLarryAlright 4 года назад
Wow nice presentation straight to the point. Now if we can have live sessions or maybe a channel that could show how you build complex apps with multiple pages. I will be happy to check other peoples channel too if you have any.
Далее
The Art of Code - Dylan Beattie | Flutter Europe
57:14
Bloc Library - Painless State Management for Flutter
24:54
Flutter Bloc & Cubit Tutorial
47:58
Просмотров 120 тыс.
Flutter bloc library basics - Felix Angelov
32:06
Просмотров 9 тыс.