title: Flutter Navigator.pushReplacementNamed show back button at the page
body: <p>I'm using <code>Navigator.pushReplacementNamed</code> in flutter app to navigate from loginpage to homepage working well, but in my homepage show back arrow button at the appBar and it returns to loginpage when pressing it. What should I do? I tried put <code>leading: Text('')</code>, but when pressing physical back button it still goes back to loginpage.</p>
  <p>I have a logout button and I want user to logout only by this button, not from back button</p>
  <p>*this is my first question here, sorry for my poor English or any mistakes</p>