Thanks for giving time to read this question and help me.
I have a SideDrawer in my home screen having two options. If I click on 'Tickets' I want Flutter to produce a new page with the tickets. But, this doesn't seem to be the case. Whenever i tap on 'Tickets', nothing loads. I am pretty sure the function userData() does execute, but doesn't load the new page.
You need to push new screen on the navigation screen. So do this
Then define the function as follow