Skip to content

Commit b39c1e7

Browse files
Merge branch 'v6.2.0-beta.2'
2 parents 1d09dd6 + 6143eb3 commit b39c1e7

File tree

69 files changed

+754
-937
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+754
-937
lines changed

dev_packages/flutter_inappwebview_internal_annotations/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.2.0
2+
3+
- Updated `ExchangeableEnum` and `ExchangeableObjectProperty`.
4+
15
## 1.1.1
26

37
- Added `ExchangeableObject.fromMapForceAllInline`.

dev_packages/generators/pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ dependencies:
1313
build: ^2.4.1
1414
source_gen: ^1.5.0
1515
collection: any
16-
flutter_inappwebview_internal_annotations: #^1.2.0
17-
path: ../flutter_inappwebview_internal_annotations
16+
flutter_inappwebview_internal_annotations: ^1.2.0
17+
# path: ../flutter_inappwebview_internal_annotations
1818

1919
dev_dependencies:
2020
build_runner: ^2.4.12

flutter_inappwebview/lib/src/in_app_browser/in_app_browser.dart

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,8 @@ class InAppBrowser implements PlatformInAppBrowserEvents {
324324
}
325325

326326
@override
327-
FutureOr<AjaxRequestAction?>? onAjaxReadyStateChange(AjaxRequest ajaxRequest) {
327+
FutureOr<AjaxRequestAction?>? onAjaxReadyStateChange(
328+
AjaxRequest ajaxRequest) {
328329
return null;
329330
}
330331

@@ -363,7 +364,8 @@ class InAppBrowser implements PlatformInAppBrowserEvents {
363364
void onDownloadStartRequest(DownloadStartRequest downloadStartRequest) {}
364365

365366
@override
366-
FutureOr<DownloadStartResponse?>? onDownloadStarting(DownloadStartRequest downloadStartRequest) {
367+
FutureOr<DownloadStartResponse?>? onDownloadStarting(
368+
DownloadStartRequest downloadStartRequest) {
367369
return null;
368370
}
369371

@@ -529,7 +531,8 @@ class InAppBrowser implements PlatformInAppBrowserEvents {
529531
void onRenderProcessGone(RenderProcessGoneDetail detail) {}
530532

531533
@override
532-
FutureOr<WebViewRenderProcessAction?>? onRenderProcessResponsive(WebUri? url) {
534+
FutureOr<WebViewRenderProcessAction?>? onRenderProcessResponsive(
535+
WebUri? url) {
533536
return null;
534537
}
535538

flutter_inappwebview/lib/src/in_app_webview/headless_in_app_webview.dart

Lines changed: 136 additions & 272 deletions
Large diffs are not rendered by default.

flutter_inappwebview/lib/src/in_app_webview/in_app_webview.dart

Lines changed: 137 additions & 272 deletions
Large diffs are not rendered by default.

flutter_inappwebview/lib/src/in_app_webview/in_app_webview_controller.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,8 @@ class InAppWebViewController {
297297
Future<void> clearFocus() => platform.clearFocus();
298298

299299
///{@macro flutter_inappwebview_platform_interface.PlatformInAppWebViewController.setInputMethodEnabled}
300-
Future<void> setInputMethodEnabled(bool enabled) => platform.setInputMethodEnabled(enabled);
300+
Future<void> setInputMethodEnabled(bool enabled) =>
301+
platform.setInputMethodEnabled(enabled);
301302

302303
///{@macro flutter_inappwebview_platform_interface.PlatformInAppWebViewController.showInputMethod}
303304
Future<void> showInputMethod() => platform.showInputMethod();

flutter_inappwebview/lib/src/web_message/web_message_port.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ class WebMessagePort implements IWebMessagePort {
3131
///{@macro flutter_inappwebview_platform_interface.PlatformWebMessagePort.close}
3232
Future<void> close() => platform.close();
3333

34-
Map<String, dynamic> toMap({EnumMethod? enumMethod}) => platform.toMap(enumMethod: enumMethod);
34+
Map<String, dynamic> toMap({EnumMethod? enumMethod}) =>
35+
platform.toMap(enumMethod: enumMethod);
3536

3637
Map<String, dynamic> toJson() => platform.toJson();
3738

flutter_inappwebview/lib/src/webview_asset_loader.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ abstract class PathHandler
2626
}
2727

2828
@override
29-
Map<String, dynamic> toMap({EnumMethod? enumMethod}) => platform.toMap(enumMethod: enumMethod);
29+
Map<String, dynamic> toMap({EnumMethod? enumMethod}) =>
30+
platform.toMap(enumMethod: enumMethod);
3031

3132
@override
3233
Map<String, dynamic> toJson() => platform.toJson();

flutter_inappwebview/lib/src/webview_environment/webview_environment.dart

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,24 @@ class WebViewEnvironment {
5757
.compareBrowserVersions(version1: version1, version2: version2);
5858

5959
///{@macro flutter_inappwebview_platform_interface.PlatformWebViewEnvironment.onNewBrowserVersionAvailable}
60-
void Function()? get onNewBrowserVersionAvailable => platform.onNewBrowserVersionAvailable;
61-
set onNewBrowserVersionAvailable(void Function()? value) => platform.onNewBrowserVersionAvailable = value;
60+
void Function()? get onNewBrowserVersionAvailable =>
61+
platform.onNewBrowserVersionAvailable;
62+
set onNewBrowserVersionAvailable(void Function()? value) =>
63+
platform.onNewBrowserVersionAvailable = value;
6264

6365
///{@macro flutter_inappwebview_platform_interface.PlatformWebViewEnvironment.onBrowserProcessExited}
64-
void Function(BrowserProcessExitedDetail detail)? get onBrowserProcessExited => platform.onBrowserProcessExited;
65-
set onBrowserProcessExited(void Function(BrowserProcessExitedDetail detail)? value) => platform.onBrowserProcessExited = value;
66+
void Function(BrowserProcessExitedDetail detail)?
67+
get onBrowserProcessExited => platform.onBrowserProcessExited;
68+
set onBrowserProcessExited(
69+
void Function(BrowserProcessExitedDetail detail)? value) =>
70+
platform.onBrowserProcessExited = value;
6671

6772
///{@macro flutter_inappwebview_platform_interface.PlatformWebViewEnvironment.onProcessInfosChanged}
68-
void Function(BrowserProcessInfosChangedDetail detail)? get onProcessInfosChanged => platform.onProcessInfosChanged;
69-
set onProcessInfosChanged(void Function(BrowserProcessInfosChangedDetail detail)? value) => platform.onProcessInfosChanged = value;
73+
void Function(BrowserProcessInfosChangedDetail detail)?
74+
get onProcessInfosChanged => platform.onProcessInfosChanged;
75+
set onProcessInfosChanged(
76+
void Function(BrowserProcessInfosChangedDetail detail)? value) =>
77+
platform.onProcessInfosChanged = value;
7078

7179
///{@macro flutter_inappwebview_platform_interface.PlatformWebViewEnvironment.dispose}
7280
Future<void> dispose() => platform.dispose();

flutter_inappwebview/pubspec.yaml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,18 @@ environment:
2020
dependencies:
2121
flutter:
2222
sdk: flutter
23-
flutter_inappwebview_platform_interface: #^1.4.0-beta.2
24-
path: ../flutter_inappwebview_platform_interface
25-
flutter_inappwebview_android: #^1.2.0-beta.2
26-
path: ../flutter_inappwebview_android
27-
flutter_inappwebview_ios: #^1.2.0-beta.2
28-
path: ../flutter_inappwebview_ios
29-
flutter_inappwebview_macos: #^1.2.0-beta.2
30-
path: ../flutter_inappwebview_macos
31-
flutter_inappwebview_web: #^1.2.0-beta.2
32-
path: ../flutter_inappwebview_web
33-
flutter_inappwebview_windows: #^0.7.0-beta.2
34-
path: ../flutter_inappwebview_windows
23+
flutter_inappwebview_platform_interface: ^1.4.0-beta.2
24+
# path: ../flutter_inappwebview_platform_interface
25+
flutter_inappwebview_android: ^1.2.0-beta.2
26+
# path: ../flutter_inappwebview_android
27+
flutter_inappwebview_ios: ^1.2.0-beta.2
28+
# path: ../flutter_inappwebview_ios
29+
flutter_inappwebview_macos: ^1.2.0-beta.2
30+
# path: ../flutter_inappwebview_macos
31+
flutter_inappwebview_web: ^1.2.0-beta.2
32+
# path: ../flutter_inappwebview_web
33+
flutter_inappwebview_windows: ^0.7.0-beta.2
34+
# path: ../flutter_inappwebview_windows
3535

3636
dev_dependencies:
3737
flutter_test:

0 commit comments

Comments
 (0)