RV
Size: a a a
RV
SS
SS
RV
MP
SS
SS
RV
MP
MP
RV
SS
Widget build(BuildContext context) {```
return BlocProvider(
create: (context) => ShopsBloc(context.repository()),
child: BlocBuilder<ShopsBloc, ShopsState>(
builder: (context, state) {
final ShopsBloc bloc = context.bloc();
assert(bloc is ShopsBloc);
return ShopListView();
},
),
);
}
RV
RV
Widget build(BuildContext context) {```
return BlocProvider(
create: (context) => ShopsBloc(context.repository()),
child: BlocBuilder<ShopsBloc, ShopsState>(
builder: (context, state) {
final ShopsBloc bloc = context.bloc();
assert(bloc is ShopsBloc);
return ShopListView();
},
),
);
}
RV
SS
SS
Widget build(BuildContext context) {
return BlocProvider(
create: (context) => ShopsBloc(context.repository()),
child: Builder(
builder: (context) {
final ShopsBloc bloc = context.bloc();
assert(bloc is ShopsBloc);
return SizedBox.shrink();
},
),
);
}
RV
RV