From 3d66ec0882f5fe06e3e4a1ed54c015d11e14db6b Mon Sep 17 00:00:00 2001 From: Lorenzo Pichilli Date: Mon, 4 Dec 2023 04:33:02 +0100 Subject: [PATCH] code format --- .../chrome_safari_browser.dart | 16 +++++------ .../src/in_app_browser/in_app_browser.dart | 28 +++++++++---------- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/flutter_inappwebview/lib/src/chrome_safari_browser/chrome_safari_browser.dart b/flutter_inappwebview/lib/src/chrome_safari_browser/chrome_safari_browser.dart index 24592383..e0ab275f 100755 --- a/flutter_inappwebview/lib/src/chrome_safari_browser/chrome_safari_browser.dart +++ b/flutter_inappwebview/lib/src/chrome_safari_browser/chrome_safari_browser.dart @@ -35,14 +35,14 @@ class ChromeSafariBrowser implements PlatformChromeSafariBrowserEvents { ///{@macro flutter_inappwebview_platform_interface.PlatformChromeSafariBrowser.open} Future open( - {WebUri? url, - Map? headers, - List? otherLikelyURLs, - WebUri? referrer, - @Deprecated('Use settings instead') - // ignore: deprecated_member_use_from_same_package - ChromeSafariBrowserClassOptions? options, - ChromeSafariBrowserSettings? settings}) { + {WebUri? url, + Map? headers, + List? otherLikelyURLs, + WebUri? referrer, + @Deprecated('Use settings instead') + // ignore: deprecated_member_use_from_same_package + ChromeSafariBrowserClassOptions? options, + ChromeSafariBrowserSettings? settings}) { this.platform.eventHandler = this; return platform.open( url: url, diff --git a/flutter_inappwebview/lib/src/in_app_browser/in_app_browser.dart b/flutter_inappwebview/lib/src/in_app_browser/in_app_browser.dart index 27ee8682..cb6a1a68 100755 --- a/flutter_inappwebview/lib/src/in_app_browser/in_app_browser.dart +++ b/flutter_inappwebview/lib/src/in_app_browser/in_app_browser.dart @@ -93,9 +93,9 @@ class InAppBrowser implements PlatformInAppBrowserEvents { ///{@macro flutter_inappwebview_platform_interface.PlatformInAppBrowser.openUrlRequest} Future openUrlRequest( - {required URLRequest urlRequest, - @Deprecated('Use settings instead') InAppBrowserClassOptions? options, - InAppBrowserClassSettings? settings}) { + {required URLRequest urlRequest, + @Deprecated('Use settings instead') InAppBrowserClassOptions? options, + InAppBrowserClassSettings? settings}) { this.platform.eventHandler = this; return platform.openUrlRequest( urlRequest: urlRequest, options: options, settings: settings); @@ -103,9 +103,9 @@ class InAppBrowser implements PlatformInAppBrowserEvents { ///{@macro flutter_inappwebview_platform_interface.PlatformInAppBrowser.openFile} Future openFile( - {required String assetFilePath, - @Deprecated('Use settings instead') InAppBrowserClassOptions? options, - InAppBrowserClassSettings? settings}) { + {required String assetFilePath, + @Deprecated('Use settings instead') InAppBrowserClassOptions? options, + InAppBrowserClassSettings? settings}) { this.platform.eventHandler = this; return platform.openFile( assetFilePath: assetFilePath, options: options, settings: settings); @@ -113,14 +113,14 @@ class InAppBrowser implements PlatformInAppBrowserEvents { ///{@macro flutter_inappwebview_platform_interface.PlatformInAppBrowser.openData} Future openData( - {required String data, - String mimeType = "text/html", - String encoding = "utf8", - WebUri? baseUrl, - @Deprecated("Use historyUrl instead") Uri? androidHistoryUrl, - WebUri? historyUrl, - @Deprecated('Use settings instead') InAppBrowserClassOptions? options, - InAppBrowserClassSettings? settings}) { + {required String data, + String mimeType = "text/html", + String encoding = "utf8", + WebUri? baseUrl, + @Deprecated("Use historyUrl instead") Uri? androidHistoryUrl, + WebUri? historyUrl, + @Deprecated('Use settings instead') InAppBrowserClassOptions? options, + InAppBrowserClassSettings? settings}) { this.platform.eventHandler = this; return platform.openData( data: data,