addTransparentRoute static method
添加透明路由
Implementation
static void addTransparentRoute(String name, RouteWidgetBuilder builder) {
CustomPageRouteOptions options = CustomPageRouteOptions(
opaque: false,
);
RouteOptions routeOptions = RouteOptions(builder, options);
RouterManager.routes.putIfAbsent(name, () => routeOptions);
}