The newest version of flutter_bloc is here, and mapEventToState is dead, long live event handlers! But maybe you don't know where to start, or it feels like too much of a drastic change. Don't worry, we've got you covered. In this video, we migrate a (very simple) app from flutter_bloc v7 to v8. In doing so, we start to see some of the strengths of using emit instead of the old yield system. This video only scratches the surface of the new power in flutter_bloc 8, but is a good place to start. GitHub Link to sample project: https://github.com/flutterfromscratch/bloc_migration flutter_bloc discord channel: https://discord.com/invite/Hc5KD3g Flutter From Scratch Instagram: https://www.instagram.com/flutterfromscratch/ 00:00 - Intro 01:05 - Sample project demo 02:04 - Fake Network Service 02:52 - Bloc V7 method 03:53 - Attack of the yield generators 06:05 - Bloc V8 method 08:10 - No more yield generators! 09:36 - Conclusion
Topics Bloc
More like this
Article 19 min readHow to Leverage BLoC for Code Sharing in Flutter and AngularDart
by Marko Perutović
Learn how the BLoC pattern can lead to more than 50% code reuse in both your Flutter mobile apps and your AngularDart web app! BLoC is a paradigm through which you can isolate your business logic in p...
Read on toptal.com
Video 12 minWhat is the BLoC pattern in Flutter?
by GiancarloCode
🔥 In this part of the Flutter course you will learn what is the BLoC Pattern and how to state management in Flutter with the BLoC pattern 🔥 📚 Content: 💡 00:09 What is the BLoC Pattern? 💡 00:33 Wh...
Watch on YouTube
Article 15 min readGetting Started With Flutter BLoC
Learn to use BLoC properly with this article by Kacper Kogut
Read on dev.to
Video 35 minExpense Tracker App • Flutter & BLoC Tutorial for Beginners
by HeyFlutter․com
Watch on YouTube