79180473

Date: 2024-11-12 09:25:30
Score: 2
Natty:
Report link

when you go to a new page by the following command

onTap: (() => context.go("/secondPage"))

the router removes the previous destination and overlays the requested destination. that is why when you pop this destination. You are receiving an error. However when you go to new page using the following command.

onTap: (() => context.push("/secondPage"))

the previous page is still left on the stack and popping the new page exposes the previous page.

Reasons:
  • No code block (0.5):
  • Starts with a question (0.5): when you
  • Low reputation (1):
Posted by: Daniel Atego