@@ -23,10 +23,12 @@ class WebViewAndroidWidget extends StatefulWidget {
2323 required this .callbacksHandler,
2424 required this .javascriptChannelRegistry,
2525 required this .onBuildWidget,
26- @visibleForTesting this .webViewProxy = const WebViewProxy (),
26+ @visibleForTesting
27+ this .webViewProxy = const WebViewProxy (),
2728 @visibleForTesting
2829 this .flutterAssetManager = const android_webview.FlutterAssetManager (),
29- @visibleForTesting this .webStorage,
30+ @visibleForTesting
31+ this .webStorage,
3032 });
3133
3234 /// Initial parameters used to setup the WebView.
@@ -101,10 +103,12 @@ class WebViewAndroidPlatformController extends WebViewPlatformController {
101103 required CreationParams creationParams,
102104 required this .callbacksHandler,
103105 required this .javascriptChannelRegistry,
104- @visibleForTesting this .webViewProxy = const WebViewProxy (),
106+ @visibleForTesting
107+ this .webViewProxy = const WebViewProxy (),
105108 @visibleForTesting
106109 this .flutterAssetManager = const android_webview.FlutterAssetManager (),
107- @visibleForTesting android_webview.WebStorage ? webStorage,
110+ @visibleForTesting
111+ android_webview.WebStorage ? webStorage,
108112 }) : webStorage = webStorage ?? android_webview.WebStorage .instance,
109113 assert (creationParams.webSettings? .hasNavigationDelegate != null ),
110114 super (callbacksHandler) {
@@ -618,15 +622,13 @@ class WebViewProxy {
618622 android_webview.WebView webView,
619623 android_webview.WebResourceRequest request,
620624 android_webview.WebResourceError error,
621- )?
622- onReceivedRequestError,
625+ )? onReceivedRequestError,
623626 void Function (
624627 android_webview.WebView webView,
625628 int errorCode,
626629 String description,
627630 String failingUrl,
628- )?
629- onReceivedError,
631+ )? onReceivedError,
630632 void Function (android_webview.WebView webView,
631633 android_webview.WebResourceRequest request)?
632634 requestLoading,
0 commit comments