RV
Size: a a a
RV
T
RV
T
BlocProvider.of<LessonListBloc>(context);
context.bloc<LessonListBloc>();
F
F
di
OP
BlocProvider.of<LessonListBloc>(context);
context.bloc<LessonListBloc>();
F
MP
RV
MP
cv
SS
BlocProvider.of() called with a context that does not contain a Bloc of typeBuilder нужный виджет, но не в этом случае
RV
BlocProvider.of() called with a context that does not contain a Bloc of typeBuilder нужный виджет, но не в этом случае
SS
RV
SS
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();
return ShopListView();
},
),
);
}