I have one StatefulWidget in Flutter with button, which navigates me to another StatefulWidget using Navigator.push(). On second widge
StatefulWidget
Navigator.push()
You can use pushReplacement and specify the new Route