Skip to content
0:00 / 0:00

#flutter#bloc#state-management

Flutter Best Practices - Building a Generic BLoC Provider - Advanced Flutter Project Part Three

Tensor Programming

50K subscribers • 4 videos on Hallway

YouTube

Advanced. Deep dive for people who know the field.

20K views7 years ago3 recommendations

Mobile developmentSoftware designFlutter and React NativeSoftware architectureDesign patterns

How to implement a generic BLoC provider using InheritedWidget and StatefulWidget for state management in Flutter.

In this Video, we continue building the Utopian Rocks Application by implementing a Generic BLoC Provider. Github Repository: github.com/tensor-programming/utopian-rocks-demo/tree/tensor… Provider Library: github.com/rrousselGit/provider Feel free to donate: Patreon: patreon.com/tensor_programming ETH: 0x03247265dd5242605bD2FA3c40fb3b70d9e3D685 Check out our Facebook: facebook.com/Tensor-Programming-1197847143611799/ Check out our Steemit: steemit.com/@tensor

Why it's here

3 people recommend this

What people say. Recommended as a helpful guide showing different ways to manage and provide BLoCs to widgets.

u/Purple_Pizzazzin r/FlutterDev • Recommends

Flutter Best Practices - Building a Generic BLoC Provider - Advanced Flutter Project Part 3

u/etca2zin r/FlutterDev • Recommends

Flutter Best Practices - Building a Generic BLoC Provider

u/Yutsain r/FlutterDev • Recommends

How to manage BLoCs Hello everyone, I am fairly new to Flutter and I've read and watched a lot of things about state management and BLoC in particular. I really like this pattern and I'm wondering what is the best way to provide the bloc to my widgets. I saw this really cool video which show different implementations. In the video he shows a combination of an `InheritedWidget` and a `StatefulWidget` and I really like this idea. He also says that there is the provider package that is available using this implementation. The version using `StatefulWidget` is deprecated but there is a similar version using `flutter_hook`. It looks pretty cool to me but again, I'm fairly new to Flutter.…