I am wondering, if anyone knows of a way to remove the back button that shows up on the appBar
in a flutter app when you use Navigator.pushNamed
to go to another page. The reason I do not want it on this resulting page is that it is coming from the navigation and I want users to use the logout
button instead, so that the session starts over.
I am wondering, if anyone knows of a way to remove the back button that shows up on the appBar
in a flutter app when you use Navigator.pushNamed
to go to another page. The reason I do not want it on this resulting page is that it is coming from the navigation and I want users to use the logout
button instead, so that the session starts over.
I am wondering, if anyone knows of a way to remove the back button that shows up on the appBar
in a flutter app when you use Navigator.pushNamed
to go to another page. The reason I do not want it on this resulting page is that it is coming from the navigation and I want users to use the logout
button instead, so that the session starts over.
I am wondering, if anyone knows of a way to remove the back button that shows up on the appBar
in a flutter app when you use Navigator.pushNamed
to go to another page. The reason I do not want it on this resulting page is that it is coming from the navigation and I want users to use the logout
button instead, so that the session starts over.
I am wondering, if anyone knows of a way to remove the back button that shows up on the appBar
in a flutter app when you use Navigator.pushNamed
to go to another page. The reason I do not want it on this resulting page is that it is coming from the navigation and I want users to use the logout
button instead, so that the session starts over.
I am wondering, if anyone knows of a way to remove the back button that shows up on the appBar
in a flutter app when you use Navigator.pushNamed
to go to another page. The reason I do not want it on this resulting page is that it is coming from the navigation and I want users to use the logout
button instead, so that the session starts over.
I am wondering, if anyone knows of a way to remove the back button that shows up on the appBar
in a flutter app when you use Navigator.pushNamed
to go to another page. The reason I do not want it on this resulting page is that it is coming from the navigation and I want users to use the logout
button instead, so that the session starts over.
I am wondering, if anyone knows of a way to remove the back button that shows up on the appBar
in a flutter app when you use Navigator.pushNamed
to go to another page. The reason I do not want it on this resulting page is that it is coming from the navigation and I want users to use the logout
button instead, so that the session starts over.
I am wondering, if anyone knows of a way to remove the back button that shows up on the appBar
in a flutter app when you use Navigator.pushNamed
to go to another page. The reason I do not want it on this resulting page is that it is coming from the navigation and I want users to use the logout
button instead, so that the session starts over.
I am wondering, if anyone knows of a way to remove the back button that shows up on the appBar
in a flutter app when you use Navigator.pushNamed
to go to another page. The reason I do not want it on this resulting page is that it is coming from the navigation and I want users to use the logout
button instead, so that the session starts over.
I am wondering, if anyone knows of a way to remove the back button that shows up on the appBar
in a flutter app when you use Navigator.pushNamed
to go to another page. The reason I do not want it on this resulting page is that it is coming from the navigation and I want users to use the logout
button instead, so that the session starts over.
I am wondering, if anyone knows of a way to remove the back button that shows up on the appBar
in a flutter app when you use Navigator.pushNamed
to go to another page. The reason I do not want it on this resulting page is that it is coming from the navigation and I want users to use the logout
button instead, so that the session starts over.
just use automaticallyImplyLeading in AppBar()
appBar: AppBaar(
automaticallyImplyLeading: false,
)
When you use Navigator.pushNamed the back-arrow appears automatically on the new screen's appBar for going back to the previous screen. If you don't want this functionality all you have to do is write automaticallyImplyLeading: false in your appBar properties.
I am wondering, if anyone knows of a way to remove the back button that shows up on the appBar
in a flutter app when you use Navigator.pushNamed
to go to another page. The reason I do not want it on this resulting page is that it is coming from the navigation and I want users to use the logout
button instead, so that the session starts over.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.