Skip to content

Commit b82baaa

Browse files
code formatting
1 parent 3101b44 commit b82baaa

File tree

5 files changed

+6
-11
lines changed

5 files changed

+6
-11
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
## 6.0.0-beta.15
22

3-
- Automatically infer `useShouldOverrideUrlLoading`, `useOnLoadResource`, `useOnDownloadStart`, `useShouldInterceptAjaxRequest`, `useShouldInterceptFetchRequest`, `useShouldInterceptRequest`, `useOnRenderProcessGone`, `useOnNavigationResponse` settings if their value is `null` and the corresponding event is implemented by the WebView (`InAppWebView` and `HeadlessInAppWebView`, not `InAppBrowser`) before it's native initialization.
3+
- Automatically infer `useShouldOverrideUrlLoading`, `useOnLoadResource`, `useOnDownloadStart`, `useShouldInterceptAjaxRequest`, `useShouldInterceptFetchRequest`, `useShouldInterceptRequest`, `useOnRenderProcessGone`, `useOnNavigationResponse` settings if their value is `null` and the corresponding event is implemented by the WebView (`InAppWebView` and `HeadlessInAppWebView`, not `InAppBrowser`) before it's native initialization
44

55
### BREAKING CHANGES
66

example/integration_test/in_app_webview/on_download_start_request.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ void onDownloadStartRequest() {
4545
</body>
4646
</html>
4747
"""),
48-
initialSettings:
49-
InAppWebViewSettings(clearCache: true),
48+
initialSettings: InAppWebViewSettings(clearCache: true),
5049
onWebViewCreated: (controller) {
5150
controllerCompleter.complete(controller);
5251
},

example/integration_test/in_app_webview/on_load_resource.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@ void onLoadResource() {
3232
key: GlobalKey(),
3333
initialFile:
3434
"test_assets/in_app_webview_on_load_resource_test.html",
35-
initialSettings:
36-
InAppWebViewSettings(clearCache: true),
35+
initialSettings: InAppWebViewSettings(clearCache: true),
3736
onLoadStop: (controller, url) {
3837
pageLoaded.complete();
3938
},

example/integration_test/in_app_webview/on_navigation_response.dart

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,7 @@ void onNavigationResponse() {
2929
child: InAppWebView(
3030
key: GlobalKey(),
3131
initialUrlRequest: URLRequest(url: TEST_URL_1),
32-
initialSettings:
33-
InAppWebViewSettings(),
32+
initialSettings: InAppWebViewSettings(),
3433
onWebViewCreated: (controller) {
3534
controllerCompleter.complete(controller);
3635
},
@@ -64,8 +63,7 @@ void onNavigationResponse() {
6463
child: InAppWebView(
6564
key: GlobalKey(),
6665
initialUrlRequest: URLRequest(url: TEST_URL_1),
67-
initialSettings:
68-
InAppWebViewSettings(),
66+
initialSettings: InAppWebViewSettings(),
6967
onWebViewCreated: (controller) {
7068
controllerCompleter.complete(controller);
7169
},

example/integration_test/in_app_webview/should_intercept_request.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ void shouldInterceptRequest() {
4545
</body>
4646
</html>
4747
"""),
48-
initialSettings:
49-
InAppWebViewSettings(),
48+
initialSettings: InAppWebViewSettings(),
5049
onWebViewCreated: (controller) {
5150
controllerCompleter.complete(controller);
5251
},

0 commit comments

Comments
 (0)