createRoute method
Creates the Route that corresponds to this page.
The created Route must have its Route.settings property set to this Page.
Implementation
@override
Route<R> createRoute(BuildContext context) {
return _StandardCustomPageRoute<R, E>(page: this);
}