I have a problem, I defined a footer page then its has 3 page to open on click, I want if current page opens already then how to prevent it from reopening.
On CLick
InkWell(
onTap: () {
Navigator.push(
context,
MaterialPageRoute(
builder: (context) => const ContactUsWindow()));
},