I want to navigate to different Routes using a Drawer, though I do not want to open a new instance of a Route each time I tap on it if I am already on that Route, rather I would
Am using this code.
*Route route = MaterialPageRoute(builder: (context) => Myinternet()); print(route.isCurrent); if(route.isCurrent){ }*
Output:
Shows Always false current page not finding