I have a profile page where I can click on the image to navigate to the edit page. And all are working perfectly working fine with bloc state management. But when pop back to the profile page there is a bloc provider not found error just for some milliseconds. What will be the problem? I researched everywhere, I couldn't find anything. I am providing the screen recording of it.
link to the video : https://youtube.com/shorts/Zr6u-AIcq5I?feature=share
The issue was resolved by wrapping the BlocProvider to the MaterialApp.