Flutter Navigator operation requested with a context that does not include a Navigator.
1、背景flutter 在做Navigator.push跳转时,出现Navigator operation requested with a context that does not include a Navigator.问题。
2、问题原因:问题复现主要在MaterialApp的home参数下面直接调用Navigator.push xxx, 报了问题1
为什么?因为context上下问并...
原创
2020-03-31 17:46:51 ·
545 阅读 ·
0 评论