Navigate without current view

Hello Everyone

I have navigator like

page1->page2

in page2 i want to navigate to page 3

normally it will be saved to history

page1->page2->page3

i want to skip page 2 to be like this

page1->page3

i want that to make back button navigate to page 1 and delete page2

navigate(url,{history:false});
1 Like

which page should i add this parameter ?

page1 ,page2 or page3

in your case is page2