How to get current route path in Flutter?

 This should give you the exact route name

ModalRoute.of(context).settings.name

if you use Navigator.popuntil.. check 

Post a Comment

Previous Post Next Post

Subscribe Us


Get tutorials, Flutter news and other exclusive content delivered to your inbox. Join 1000+ growth-oriented Flutter developers subscribed to the newsletter

100% value, 0% spam. Unsubscribe anytime