format code

This commit is contained in:
Lorenzo Pichilli 2023-11-27 18:42:14 +01:00
parent 26f0235c98
commit fdbf474642
1 changed files with 48 additions and 48 deletions

View File

@ -200,20 +200,20 @@ class InAppBrowser implements PlatformInAppBrowserEvents {
@override @override
Future<GeolocationPermissionShowPromptResponse?>? Future<GeolocationPermissionShowPromptResponse?>?
androidOnGeolocationPermissionsShowPrompt(String origin) { androidOnGeolocationPermissionsShowPrompt(String origin) {
return null; return null;
} }
@override @override
Future<JsBeforeUnloadResponse?>? androidOnJsBeforeUnload( Future<JsBeforeUnloadResponse?>? androidOnJsBeforeUnload(
JsBeforeUnloadRequest jsBeforeUnloadRequest) { JsBeforeUnloadRequest jsBeforeUnloadRequest) {
return null; return null;
} }
@override @override
Future<PermissionRequestResponse?>? androidOnPermissionRequest( Future<PermissionRequestResponse?>? androidOnPermissionRequest(
String origin, List<String> resources) { String origin, List<String> resources) {
return null; return null;
} }
@override @override
void androidOnReceivedIcon(Uint8List icon) {} void androidOnReceivedIcon(Uint8List icon) {}
@ -230,20 +230,20 @@ class InAppBrowser implements PlatformInAppBrowserEvents {
@override @override
Future<WebViewRenderProcessAction?>? androidOnRenderProcessResponsive( Future<WebViewRenderProcessAction?>? androidOnRenderProcessResponsive(
Uri? url) { Uri? url) {
return null; return null;
} }
@override @override
Future<WebViewRenderProcessAction?>? androidOnRenderProcessUnresponsive( Future<WebViewRenderProcessAction?>? androidOnRenderProcessUnresponsive(
Uri? url) { Uri? url) {
return null; return null;
} }
@override @override
Future<SafeBrowsingResponse?>? androidOnSafeBrowsingHit( Future<SafeBrowsingResponse?>? androidOnSafeBrowsingHit(
Uri url, SafeBrowsingThreat? threatType) { Uri url, SafeBrowsingThreat? threatType) {
return null; return null;
} }
@override @override
void androidOnScaleChanged(double oldScale, double newScale) {} void androidOnScaleChanged(double oldScale, double newScale) {}
@ -251,8 +251,8 @@ class InAppBrowser implements PlatformInAppBrowserEvents {
@override @override
Future<WebResourceResponse?>? androidShouldInterceptRequest( Future<WebResourceResponse?>? androidShouldInterceptRequest(
WebResourceRequest request) { WebResourceRequest request) {
return null; return null;
} }
@override @override
void iosOnDidReceiveServerRedirectForProvisionalNavigation() {} void iosOnDidReceiveServerRedirectForProvisionalNavigation() {}
@ -260,8 +260,8 @@ class InAppBrowser implements PlatformInAppBrowserEvents {
@override @override
Future<IOSNavigationResponseAction?>? iosOnNavigationResponse( Future<IOSNavigationResponseAction?>? iosOnNavigationResponse(
IOSWKNavigationResponse navigationResponse) { IOSWKNavigationResponse navigationResponse) {
return null; return null;
} }
@override @override
void iosOnWebContentProcessDidTerminate() {} void iosOnWebContentProcessDidTerminate() {}
@ -269,8 +269,8 @@ class InAppBrowser implements PlatformInAppBrowserEvents {
@override @override
Future<IOSShouldAllowDeprecatedTLSAction?>? iosShouldAllowDeprecatedTLS( Future<IOSShouldAllowDeprecatedTLSAction?>? iosShouldAllowDeprecatedTLS(
URLAuthenticationChallenge challenge) { URLAuthenticationChallenge challenge) {
return null; return null;
} }
@override @override
Future<AjaxRequestAction?>? onAjaxProgress(AjaxRequest ajaxRequest) { Future<AjaxRequestAction?>? onAjaxProgress(AjaxRequest ajaxRequest) {
@ -336,8 +336,8 @@ class InAppBrowser implements PlatformInAppBrowserEvents {
@override @override
Future<GeolocationPermissionShowPromptResponse?>? Future<GeolocationPermissionShowPromptResponse?>?
onGeolocationPermissionsShowPrompt(String origin) { onGeolocationPermissionsShowPrompt(String origin) {
return null; return null;
} }
@override @override
Future<JsAlertResponse?>? onJsAlert(JsAlertRequest jsAlertRequest) { Future<JsAlertResponse?>? onJsAlert(JsAlertRequest jsAlertRequest) {
@ -347,8 +347,8 @@ class InAppBrowser implements PlatformInAppBrowserEvents {
@override @override
Future<JsBeforeUnloadResponse?>? onJsBeforeUnload( Future<JsBeforeUnloadResponse?>? onJsBeforeUnload(
JsBeforeUnloadRequest jsBeforeUnloadRequest) { JsBeforeUnloadRequest jsBeforeUnloadRequest) {
return null; return null;
} }
@override @override
Future<JsConfirmResponse?>? onJsConfirm(JsConfirmRequest jsConfirmRequest) { Future<JsConfirmResponse?>? onJsConfirm(JsConfirmRequest jsConfirmRequest) {
@ -377,8 +377,8 @@ class InAppBrowser implements PlatformInAppBrowserEvents {
@override @override
Future<CustomSchemeResponse?>? onLoadResourceWithCustomScheme( Future<CustomSchemeResponse?>? onLoadResourceWithCustomScheme(
WebResourceRequest request) { WebResourceRequest request) {
return null; return null;
} }
@override @override
void onLoadStart(WebUri? url) {} void onLoadStart(WebUri? url) {}
@ -396,8 +396,8 @@ class InAppBrowser implements PlatformInAppBrowserEvents {
@override @override
Future<NavigationResponseAction?>? onNavigationResponse( Future<NavigationResponseAction?>? onNavigationResponse(
NavigationResponse navigationResponse) { NavigationResponse navigationResponse) {
return null; return null;
} }
@override @override
void onOverScrolled(int x, int y, bool clampedX, bool clampedY) {} void onOverScrolled(int x, int y, bool clampedX, bool clampedY) {}
@ -408,8 +408,8 @@ class InAppBrowser implements PlatformInAppBrowserEvents {
@override @override
Future<PermissionResponse?>? onPermissionRequest( Future<PermissionResponse?>? onPermissionRequest(
PermissionRequest permissionRequest) { PermissionRequest permissionRequest) {
return null; return null;
} }
@override @override
void onPermissionRequestCanceled(PermissionRequest permissionRequest) {} void onPermissionRequestCanceled(PermissionRequest permissionRequest) {}
@ -420,8 +420,8 @@ class InAppBrowser implements PlatformInAppBrowserEvents {
@override @override
Future<bool?>? onPrintRequest( Future<bool?>? onPrintRequest(
WebUri? url, PlatformPrintJobController? printJobController) { WebUri? url, PlatformPrintJobController? printJobController) {
return null; return null;
} }
@override @override
void onProgressChanged(int progress) {} void onProgressChanged(int progress) {}
@ -429,8 +429,8 @@ class InAppBrowser implements PlatformInAppBrowserEvents {
@override @override
Future<ClientCertResponse?>? onReceivedClientCertRequest( Future<ClientCertResponse?>? onReceivedClientCertRequest(
URLAuthenticationChallenge challenge) { URLAuthenticationChallenge challenge) {
return null; return null;
} }
@override @override
void onReceivedError(WebResourceRequest request, WebResourceError error) {} void onReceivedError(WebResourceRequest request, WebResourceError error) {}
@ -438,8 +438,8 @@ class InAppBrowser implements PlatformInAppBrowserEvents {
@override @override
Future<HttpAuthResponse?>? onReceivedHttpAuthRequest( Future<HttpAuthResponse?>? onReceivedHttpAuthRequest(
URLAuthenticationChallenge challenge) { URLAuthenticationChallenge challenge) {
return null; return null;
} }
@override @override
void onReceivedHttpError( void onReceivedHttpError(
@ -454,8 +454,8 @@ class InAppBrowser implements PlatformInAppBrowserEvents {
@override @override
Future<ServerTrustAuthResponse?>? onReceivedServerTrustAuthRequest( Future<ServerTrustAuthResponse?>? onReceivedServerTrustAuthRequest(
URLAuthenticationChallenge challenge) { URLAuthenticationChallenge challenge) {
return null; return null;
} }
@override @override
void onReceivedTouchIconUrl(WebUri url, bool precomposed) {} void onReceivedTouchIconUrl(WebUri url, bool precomposed) {}
@ -471,8 +471,8 @@ class InAppBrowser implements PlatformInAppBrowserEvents {
@override @override
Future<WebViewRenderProcessAction?>? onRenderProcessUnresponsive( Future<WebViewRenderProcessAction?>? onRenderProcessUnresponsive(
WebUri? url) { WebUri? url) {
return null; return null;
} }
@override @override
void onRequestFocus() {} void onRequestFocus() {}
@ -480,8 +480,8 @@ class InAppBrowser implements PlatformInAppBrowserEvents {
@override @override
Future<SafeBrowsingResponse?>? onSafeBrowsingHit( Future<SafeBrowsingResponse?>? onSafeBrowsingHit(
WebUri url, SafeBrowsingThreat? threatType) { WebUri url, SafeBrowsingThreat? threatType) {
return null; return null;
} }
@override @override
void onScrollChanged(int x, int y) {} void onScrollChanged(int x, int y) {}
@ -507,8 +507,8 @@ class InAppBrowser implements PlatformInAppBrowserEvents {
@override @override
Future<ShouldAllowDeprecatedTLSAction?>? shouldAllowDeprecatedTLS( Future<ShouldAllowDeprecatedTLSAction?>? shouldAllowDeprecatedTLS(
URLAuthenticationChallenge challenge) { URLAuthenticationChallenge challenge) {
return null; return null;
} }
@override @override
Future<AjaxRequest?>? shouldInterceptAjaxRequest(AjaxRequest ajaxRequest) { Future<AjaxRequest?>? shouldInterceptAjaxRequest(AjaxRequest ajaxRequest) {
@ -518,18 +518,18 @@ class InAppBrowser implements PlatformInAppBrowserEvents {
@override @override
Future<FetchRequest?>? shouldInterceptFetchRequest( Future<FetchRequest?>? shouldInterceptFetchRequest(
FetchRequest fetchRequest) { FetchRequest fetchRequest) {
return null; return null;
} }
@override @override
Future<WebResourceResponse?>? shouldInterceptRequest( Future<WebResourceResponse?>? shouldInterceptRequest(
WebResourceRequest request) { WebResourceRequest request) {
return null; return null;
} }
@override @override
Future<NavigationActionPolicy?>? shouldOverrideUrlLoading( Future<NavigationActionPolicy?>? shouldOverrideUrlLoading(
NavigationAction navigationAction) { NavigationAction navigationAction) {
return null; return null;
} }
} }