Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class MyWidget extends StatelessWidget {
- @override
- Widget build(BuildContext context) {
- return BlocProvider<BlocA>(
- builder: (BuildContext context) => BlocA(),
- child: BlocProvider<BlocB>(
- builder: (BuildContext context) => BlocB(),
- child: BlocProvider<BlocC>(
- builder: (BuildContext context) => BlocC(),
- child: ChildA(),
- )
- ),
- );
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement