The following assertion was thrown while handling a gesture:
Navigator operation requested with a context that does not include a Navigator.
The context used to push or pop routes from the Navigator must be that of a widget that is a
descendant of a Navigator widget.

「The following assertion was thrown while handling a gesture:<br>Navigator operation requested with a context that does not include a Navigator.<br>The context used to push or pop routes from the Navigator must be that of a widget that is a<br>descendant of a Navigator widget.」のアイキャッチ画像

flutterでRaisedButtonNavigator を入れたらタイトルのエラーが発生しました

参考記事

【Flutter】画面遷移でのエラーについて