This function will be called right after the
GetPage.page function is called and will give you the result
of the function. and take the widget that will be showed.
This function will be called when the page of
the called route is being searched for.
It take RouteSettings as a result an redirect to the new settings or
give it null and there will be no redirecting.
{@tool snippet}