Let’s work on the navigation buttons of the
Pressing the first button should take the user to the previous screen.
goBack method for this.
Pressing the second button should take the user to the initial stack screen.
popToTop method for this.
If you have any issues with it, you can ask for community help below the post.
Feel free to help others if you’ve already solved the task.