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
@kshitijjain48524 жыл бұрын
I love the people who make timestamps like these. Thanks!
@filipsavic21654 жыл бұрын
Thanks man! I'm happy to help :)
@1wisestein3 жыл бұрын
There should be a special place in heaven for commenters who breakdown videos into timestamps like this.
@filipsavic21653 жыл бұрын
Hahaha :D Thank you! I hope someone up there loves timestamp comments too :D
@pritesh55s3 жыл бұрын
@@filipsavic2165 We love timestamp comments ......
@notmtp566 Жыл бұрын
For those who learning Bloc this is the only video you need !!!
@thomasmabika72914 жыл бұрын
oh snap, Felix Angelov?? Reso Coder is going to be so happy!
@ResoCoder4 жыл бұрын
I was at the conference lol 😂
@santoshtemp58344 жыл бұрын
@@ResoCoder Really?
@aaklii4 жыл бұрын
@@santoshtemp5834 Marcin was a speaker: kzfaq.info/get/bejne/fKmpoquU0anVk2w.html
@diogosequeira48734 жыл бұрын
@@ResoCoder you need to be a speaker on the next one ahha
@aaklii4 жыл бұрын
Felix Angelov's Bloc Library + Marcin Szałek 's Complex UI = Magic
@verryondrums4 жыл бұрын
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
@hydernotes4 жыл бұрын
because he is already speaking too fast?
@verryondrums4 жыл бұрын
@@hydernotes speaking speed is perfect 👌
@zeorjvistr62453 жыл бұрын
True
@chrislamont75293 жыл бұрын
First time I've had to slow it down 😅
@verryondrums3 жыл бұрын
@@hydernotes perfect speed =D
@mradityapatnaik4 жыл бұрын
In just 7.5 minutes this video manages to explain a complex concept like bloc!
@daanielacosta23953 жыл бұрын
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
@ekoprasetyo39993 жыл бұрын
Yes, me too. Because he is the creator of bloc.
@Collins012 жыл бұрын
Now I understand how the BLOC works, thanks .
@davidacevedo88914 жыл бұрын
Not all heroes wear capes, thanks for making this library :)
@kiyotaka6274 жыл бұрын
this package is amazing, if you are not using it I highly recommend it
@rhodyborn3 жыл бұрын
Wow, really good talk. Understood exactly what was happening and applicable way in which the package could be used!
@theonlyarjun4 жыл бұрын
he said all that in one breath
@mr.happydev66032 жыл бұрын
Tum yahan bhi ho , shi hai
@RishabhAgrawal8043 жыл бұрын
One of the best talk 👏
@YaoBinThen4 жыл бұрын
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!
@thomasmabika72914 жыл бұрын
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.
@YaoBinThen4 жыл бұрын
@@thomasmabika7291 I'd definitely bring it into my projects whenever I need it
@YaoBinThen4 жыл бұрын
Update: I’m on bloc! And cubit too! This is exciting
@Qizot4 жыл бұрын
Besides the talk about advanced UI/UX in flutter this is the second best so far
@aytunch4 жыл бұрын
It's crazy. I just asked for this video in another talk 10 mins ago:) Thanks Flutter Europe and Felix
@krishnakumarramachandran58884 жыл бұрын
Thanks Felix Bro, I like your Bloc Package. This is the first time i'm watching long video in KZfaq. Now i understand Bloc concepts. Thanks for the Great Talk and Great Package.💙
@GodfatherOfKcontent4 жыл бұрын
A gem 💎
@PrinceDVII4 жыл бұрын
Great presentation, straight to the point. Thanks Felix!
@stephenopokudamoah3 жыл бұрын
Great presentation! I just fell in love with bloc and flutter_bloc!
@kevinliu60024 жыл бұрын
Amazing library! I am going to start using bloc_test now. Hats off Felix!
@LexPrimost4 жыл бұрын
This guy ! a genius. thanks to you and the team behind the library
@nivellemendiola50394 жыл бұрын
thank you so much for making bloc easy to work for us
@kozimjonkholmirzaev47013 жыл бұрын
great job
@noname858084 жыл бұрын
Great libraries, thanks Felix!
@youssifgamal85452 жыл бұрын
great video , great explanation , great presenter
@metix13653 жыл бұрын
Amazing!!
@theGoldyMan4 жыл бұрын
that baby Yoda blink :) , great presentation.
@GJJ20193 жыл бұрын
best talk ever
@justinprakashraj6256 Жыл бұрын
Bloc ❤️
@coolprashantmailbox4 жыл бұрын
Thanks Felix
@Rissmon14 жыл бұрын
Super talk 😃😃
@DungNguyen-ex8rh3 жыл бұрын
very great content, an amazing package
@learningisgrowinglig4 жыл бұрын
amazing presentation, liked it
@danghaile55284 жыл бұрын
This package is amazing !
@be_like__prateek2 жыл бұрын
Knowledgable
@keanuhero3034 жыл бұрын
Missed opportunity to call TheChild as ChildThe.
@elsaiedsamaka73734 жыл бұрын
felix, i love u
@lukasz.debowski13 жыл бұрын
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)
@lucifer60994 жыл бұрын
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) ?
@Felangelov4 жыл бұрын
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.
@lucifer60994 жыл бұрын
@@Felangelov ohhh ok. Haha it almost got me. Really excited to see what's next from you guys.
@vinceramcesoliveros67394 жыл бұрын
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.
@xaxababa66164 жыл бұрын
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
@aaulia4 жыл бұрын
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.
@TheMr82k4 жыл бұрын
woah I just created a bloc pattern for myself and never noticed that this library had is doing almost everything exactly the same
@keanuhero3034 жыл бұрын
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
@majdkazmoz44344 жыл бұрын
This man amazing
@mderis4 жыл бұрын
Thanks, enjoyed it,
@fluttermakers2 жыл бұрын
Please explain my practical on the favorite button. Thank you for your great efforts
@satyamdubey45293 жыл бұрын
He is already in 1.5x speed mode
@itsLarryAlright4 жыл бұрын
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.
@khalidmahmud86643 жыл бұрын
really helpful....
@azackmatoff25703 жыл бұрын
The author of bloc, flutter_bloc
@kantulaev4 жыл бұрын
39:30 simple voice 😁
@mallikarjunreddy52294 жыл бұрын
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
@TomasAugust4 жыл бұрын
22:05 first code line - replace int with CounterState ?
@Felangelov4 жыл бұрын
Tomas August yup good catch!
@jazimabbas81683 жыл бұрын
can anyone tell me about where i can found some useful resources of rxdart with flutter_bloc ??
@sunilk97603 жыл бұрын
Provider works well
@elsaiedsamaka73734 жыл бұрын
hi, can any one provide the source code of these examples he talked about?
@Felangelov4 жыл бұрын
The slides and source code can be found at github.com/felangel/bloc_library_basics_and_beyond 👍
@prashanthongal16414 жыл бұрын
Hi can you please share GitHub link for this ?
@peter-ql7gi3 жыл бұрын
"very very good ventures"?
@rockypkr93482 жыл бұрын
doesnt it voilate closed and open principle?
@petroniobonavides35304 жыл бұрын
@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.
@itsLarryAlright4 жыл бұрын
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.
@itsLarryAlright4 жыл бұрын
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.