No video

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

  Рет қаралды 58,646

Flutter Europe

Flutter Europe

Күн бұрын

Пікірлер: 89
@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 ......
@notmtp566
@notmtp566 Жыл бұрын
For those who learning Bloc this is the only video you need !!!
@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: kzfaq.info/get/bejne/fKmpoquU0anVk2w.html
@diogosequeira4873
@diogosequeira4873 4 жыл бұрын
@@ResoCoder you need to be a speaker on the next one ahha
@aaklii
@aaklii 4 жыл бұрын
Felix Angelov's Bloc Library + Marcin Szałek 's Complex UI = Magic
@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
@mradityapatnaik
@mradityapatnaik 4 жыл бұрын
In just 7.5 minutes this video manages to explain a complex concept like bloc!
@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.
@Collins01
@Collins01 2 жыл бұрын
Now I understand how the BLOC works, thanks .
@davidacevedo8891
@davidacevedo8891 4 жыл бұрын
Not all heroes wear capes, thanks for making this library :)
@kiyotaka627
@kiyotaka627 4 жыл бұрын
this package is amazing, if you are not using it I highly recommend it
@rhodyborn
@rhodyborn 3 жыл бұрын
Wow, really good talk. Understood exactly what was happening and applicable way in which the package could be used!
@theonlyarjun
@theonlyarjun 4 жыл бұрын
he said all that in one breath
@mr.happydev6603
@mr.happydev6603 2 жыл бұрын
Tum yahan bhi ho , shi hai
@RishabhAgrawal804
@RishabhAgrawal804 3 жыл бұрын
One of the best talk 👏
@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
@Qizot
@Qizot 4 жыл бұрын
Besides the talk about advanced UI/UX in flutter this is the second best so far
@aytunch
@aytunch 4 жыл бұрын
It's crazy. I just asked for this video in another talk 10 mins ago:) Thanks Flutter Europe and Felix
@krishnakumarramachandran5888
@krishnakumarramachandran5888 4 жыл бұрын
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.💙
@GodfatherOfKcontent
@GodfatherOfKcontent 4 жыл бұрын
A gem 💎
@PrinceDVII
@PrinceDVII 4 жыл бұрын
Great presentation, straight to the point. Thanks Felix!
@stephenopokudamoah
@stephenopokudamoah 3 жыл бұрын
Great presentation! I just fell in love with bloc and flutter_bloc!
@kevinliu6002
@kevinliu6002 4 жыл бұрын
Amazing library! I am going to start using bloc_test now. Hats off Felix!
@LexPrimost
@LexPrimost 4 жыл бұрын
This guy ! a genius. thanks to you and the team behind the library
@nivellemendiola5039
@nivellemendiola5039 4 жыл бұрын
thank you so much for making bloc easy to work for us
@kozimjonkholmirzaev4701
@kozimjonkholmirzaev4701 3 жыл бұрын
great job
@noname85808
@noname85808 4 жыл бұрын
Great libraries, thanks Felix!
@youssifgamal8545
@youssifgamal8545 2 жыл бұрын
great video , great explanation , great presenter
@metix1365
@metix1365 3 жыл бұрын
Amazing!!
@theGoldyMan
@theGoldyMan 4 жыл бұрын
that baby Yoda blink :) , great presentation.
@GJJ2019
@GJJ2019 3 жыл бұрын
best talk ever
@justinprakashraj6256
@justinprakashraj6256 Жыл бұрын
Bloc ❤️
@coolprashantmailbox
@coolprashantmailbox 4 жыл бұрын
Thanks Felix
@Rissmon1
@Rissmon1 4 жыл бұрын
Super talk 😃😃
@DungNguyen-ex8rh
@DungNguyen-ex8rh 3 жыл бұрын
very great content, an amazing package
@learningisgrowinglig
@learningisgrowinglig 4 жыл бұрын
amazing presentation, liked it
@danghaile5528
@danghaile5528 4 жыл бұрын
This package is amazing !
@be_like__prateek
@be_like__prateek 2 жыл бұрын
Knowledgable
@keanuhero303
@keanuhero303 4 жыл бұрын
Missed opportunity to call TheChild as ChildThe.
@elsaiedsamaka7373
@elsaiedsamaka7373 4 жыл бұрын
felix, i love u
@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)
@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.
@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.
@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.
@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
@majdkazmoz4434
@majdkazmoz4434 4 жыл бұрын
This man amazing
@mderis
@mderis 4 жыл бұрын
Thanks, enjoyed it,
@fluttermakers
@fluttermakers 2 жыл бұрын
Please explain my practical on the favorite button. Thank you for your great efforts
@satyamdubey4529
@satyamdubey4529 3 жыл бұрын
He is already in 1.5x speed mode
@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.
@khalidmahmud8664
@khalidmahmud8664 3 жыл бұрын
really helpful....
@azackmatoff2570
@azackmatoff2570 3 жыл бұрын
The author of bloc, flutter_bloc
@kantulaev
@kantulaev 4 жыл бұрын
39:30 simple voice 😁
@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
@TomasAugust
@TomasAugust 4 жыл бұрын
22:05 first code line - replace int with CounterState ?
@Felangelov
@Felangelov 4 жыл бұрын
Tomas August yup good catch!
@jazimabbas8168
@jazimabbas8168 3 жыл бұрын
can anyone tell me about where i can found some useful resources of rxdart with flutter_bloc ??
@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 👍
@prashanthongal1641
@prashanthongal1641 4 жыл бұрын
Hi can you please share GitHub link for this ?
@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.
If Barbie came to life! 💝
00:37
Meow-some! Reacts
Рет қаралды 79 МЛН
The Joker kisses Harley Quinn underwater!#Harley Quinn #joker
00:49
Harley Quinn with the Joker
Рет қаралды 22 МЛН
Get 10 Mega Boxes OR 60 Starr Drops!!
01:39
Brawl Stars
Рет қаралды 19 МЛН
The Art of Code - Dylan Beattie | Flutter Europe
57:14
Flutter Europe
Рет қаралды 13 М.
Painting with Rive and Flutter - Umberto Sonnino | Flutter Europe
45:09
Augmented Reality in Flutter - Oleksandr Leuschenko | Flutter Europe
43:28
Bloc Library - Painless State Management for Flutter
24:54
Reso Coder
Рет қаралды 92 М.
Flutter Europe: Optimizing your Flutter App
44:05
Flutter
Рет қаралды 115 М.
Flutter BLoC Pattern Tutorial From Scratch
20:51
Reso Coder
Рет қаралды 348 М.
Pragmatic State Management in Flutter (Google I/O'19)
33:25
Flutter
Рет қаралды 450 М.
If Barbie came to life! 💝
00:37
Meow-some! Reacts
Рет қаралды 79 МЛН