code formatting
This commit is contained in:
parent
3101b44c37
commit
b82baaa061
|
@ -1,6 +1,6 @@
|
|||
## 6.0.0-beta.15
|
||||
|
||||
- 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.
|
||||
- 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
|
||||
|
||||
### BREAKING CHANGES
|
||||
|
||||
|
|
|
@ -45,8 +45,7 @@ void onDownloadStartRequest() {
|
|||
</body>
|
||||
</html>
|
||||
"""),
|
||||
initialSettings:
|
||||
InAppWebViewSettings(clearCache: true),
|
||||
initialSettings: InAppWebViewSettings(clearCache: true),
|
||||
onWebViewCreated: (controller) {
|
||||
controllerCompleter.complete(controller);
|
||||
},
|
||||
|
|
|
@ -32,8 +32,7 @@ void onLoadResource() {
|
|||
key: GlobalKey(),
|
||||
initialFile:
|
||||
"test_assets/in_app_webview_on_load_resource_test.html",
|
||||
initialSettings:
|
||||
InAppWebViewSettings(clearCache: true),
|
||||
initialSettings: InAppWebViewSettings(clearCache: true),
|
||||
onLoadStop: (controller, url) {
|
||||
pageLoaded.complete();
|
||||
},
|
||||
|
|
|
@ -29,8 +29,7 @@ void onNavigationResponse() {
|
|||
child: InAppWebView(
|
||||
key: GlobalKey(),
|
||||
initialUrlRequest: URLRequest(url: TEST_URL_1),
|
||||
initialSettings:
|
||||
InAppWebViewSettings(),
|
||||
initialSettings: InAppWebViewSettings(),
|
||||
onWebViewCreated: (controller) {
|
||||
controllerCompleter.complete(controller);
|
||||
},
|
||||
|
@ -64,8 +63,7 @@ void onNavigationResponse() {
|
|||
child: InAppWebView(
|
||||
key: GlobalKey(),
|
||||
initialUrlRequest: URLRequest(url: TEST_URL_1),
|
||||
initialSettings:
|
||||
InAppWebViewSettings(),
|
||||
initialSettings: InAppWebViewSettings(),
|
||||
onWebViewCreated: (controller) {
|
||||
controllerCompleter.complete(controller);
|
||||
},
|
||||
|
|
|
@ -45,8 +45,7 @@ void shouldInterceptRequest() {
|
|||
</body>
|
||||
</html>
|
||||
"""),
|
||||
initialSettings:
|
||||
InAppWebViewSettings(),
|
||||
initialSettings: InAppWebViewSettings(),
|
||||
onWebViewCreated: (controller) {
|
||||
controllerCompleter.complete(controller);
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue