════════flutter: BlocProvider.ofThe context you used comes from a widget above the BlocProvider.
flutter: 2.You used MultiBlocProvider and didn't explicity provide the <em
我试图将所有与语言更改相关的逻辑集成到一个块中。我使用的是flutter_bloc包,它使我能够访问"BlocProvider“方法。然而,当我尝试扩展我的块时,我得到了一个错误。TranslationsBloc' doesn't conform to
the bound 'Bloc<dynamic, dynamic>' of the type variable 'T' on 'BlocProvider代码如下: