factory Page(Route route, Element element) { return Page._( pageInfo: PageInfo.fromElement(element, route), route: route, element: element, ); }