当弹出仅1秒钟时,BLOC提供商错误
我有一个个人资料页面,可以在其中单击图像以导航到编辑页面。所有人都可以在集体国家管理方面完美地工作。但是,当弹出返回个人资料页面时,仅针对某些毫秒就找不到一个集团提供商错误。问题是什么?我到处研究,找不到任何东西。我正在提供它的屏幕录制。
链接到视频: https://youtube.com/youtube.com/shorts/shorts/zr6u-aicq5i?feature?feature?feature? =共享
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
通过将BlocProvider包裹到MetteralApp中解决了问题。
The issue was resolved by wrapping the BlocProvider to the MaterialApp.