Welcome back to the 9th part of the Flutter YouTube Search tutorial course. In the previous part, we’ve added new code to the data source and also to the repository which allows us to fetch detailed data about a single video.

Before we start writing a UI, we need to create a BLoC which we will use as the middle layer for communicating between widgets and the repository. This Detail BLoC will be similar to the Search BLoC which we’ve already created, but the more you do something, the more you learn!

 

?Get the code from this tutorial?

 

About the author 

Matt Rešetár

Matt is an app developer with a knack for teaching others. Working as a freelancer and most importantly developer educator, he is set on helping other people succeed in their Flutter app development career.

You may also like

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}
>