Could not find the correct Provider<> Could not find the correct Provider<> dart dart

Could not find the correct Provider<>


ok, I solve it by wrapping the ChangeNotifierProvider into a material widget instead of the home page so the entire application could access the provider

 return ChangeNotifierProvider<NewsRequest>(      builder: (_) => NewsRequest(),          child: MaterialApp(.....)