Relative Content

Tag Archive for flutterflutter-navigation

How to navigate using the navigator key little bit complex?

I have created app where the user get notification when user tap on the notification it’s goes to notification history page here simply I push the notification screen in stack when the other notification comes on the Notification screen then user tap on the screen then did not push the notification screen again in the stack and also the notification pop up is made out using Dialog so the tap event listen from the other file so to navigate to screen I use the global navigator Key to do navigation in the app. For the temporary usage I am completely replace that screen with notification screen but here is the problem is the it’s delete the whole state so while navigate to the other screen the whole screen is reload again so how to resolve this navigation problem?