pageRouteBuilderWithAppId function
Implementation
PageRouteBuilder pageRouteBuilderWithAppId(AccessState state, String appId,
{String? pageId, Map<String, dynamic>? parameters, required Widget page}) {
var name = getName(appId, pageId);
if (state is AccessDetermined) {
var app = state.getApp(appId);
if (app != null) {
return pageRoute(app, name, parameters, page);
}
}
return FadeRoute(
name: name, parameters: parameters, page: page, milliseconds: 1000);
}