我已经创建了一个应用程序,我使用了MultiProvider,但是当我在MaterialApp中使用它时,它就不能工作了。我想用它来改变应用的主题颜色,但是*注意:当我在任何其他屏幕上使用posts提供程序时,它可以工作。( 9316): Error: Could not find the correct Provider<Settings> above this MyApp Widget
I/flu
;I/flutter (12688): No Overlaywidget found.I/flutter (12688): Tooltip widgets require an Overlaywidget ancestor for correct operation.I/flutter (12688): The specific widget
当我试图在ReorderableListView中使用ReorderableListView时,我会得到一个Could not find the correct Provider<ThemeCubit>above this BlocBuilder<ThemeCubit, ThemeState> Widget错误。当我在列表中拖动一个项目时,会发生错误。可复制示例 (main.dart)
当在列表中拖动项时,会<
我使用Provider作为我的flutter应用程序的状态管理工具。这是我的提供程序配置。TransactionProvider时,我得到了provider not found错误。Widget build(BuildContext context) { appBar: AppBar(
title: TextError: Could not find the correct Provi