Skip to content

Commit

Permalink
v0.5.51
Browse files Browse the repository at this point in the history
  • Loading branch information
pichillilorenzo committed Nov 7, 2018
1 parent ce09f7e commit f02791f
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 43 deletions.
74 changes: 43 additions & 31 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 0.5.51

- updated `pubspec.yaml`
- updated `README.md`

## 0.5.5

- added `getUrl` method for the `InAppWebViewController` class
Expand Down
18 changes: 9 additions & 9 deletions lib/flutter_inappbrowser.dart
Original file line number Diff line number Diff line change
Expand Up @@ -524,15 +524,15 @@ class ChromeSafariBrowser {
}
}

typedef void onWebViewCreatedCallback(InAppWebViewController controller);
typedef void onWebViewLoadStartCallback(InAppWebViewController controller, String url);
typedef void onWebViewLoadStopCallback(InAppWebViewController controller, String url);
typedef void onWebViewLoadErrorCallback(InAppWebViewController controller, String url, int code, String message);
typedef void onWebViewProgressChangedCallback(InAppWebViewController controller, int progress);
typedef void onWebViewConsoleMessageCallback(InAppWebViewController controller, ConsoleMessage consoleMessage);
typedef void shouldOverrideUrlLoadingCallback(InAppWebViewController controller, String url);
typedef void onWebViewLoadResourceCallback(InAppWebViewController controller, WebResourceResponse response, WebResourceRequest request);
typedef void onWebViewScrollChangedCallback(InAppWebViewController controller, int x, int y);
typedef onWebViewCreatedCallback = void Function(InAppWebViewController controller);
typedef onWebViewLoadStartCallback = void Function(InAppWebViewController controller, String url);
typedef onWebViewLoadStopCallback = void Function(InAppWebViewController controller, String url);
typedef onWebViewLoadErrorCallback = void Function(InAppWebViewController controller, String url, int code, String message);
typedef onWebViewProgressChangedCallback = void Function(InAppWebViewController controller, int progress);
typedef onWebViewConsoleMessageCallback = void Function(InAppWebViewController controller, ConsoleMessage consoleMessage);
typedef shouldOverrideUrlLoadingCallback = void Function(InAppWebViewController controller, String url);
typedef onWebViewLoadResourceCallback = void Function(InAppWebViewController controller, WebResourceResponse response, WebResourceRequest request);
typedef onWebViewScrollChangedCallback = void Function(InAppWebViewController controller, int x, int y);

///Initial [data] as a content for an [InAppWebView] instance, using [baseUrl] as the base URL for it.
///The [mimeType] property specifies the format of the data.
Expand Down
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: flutter_inappbrowser
description: A Flutter plugin that allows you to add an inline webview or open an in-app browser window. (inspired by the popular cordova-plugin-inappbrowser).
version: 0.5.5
description: A Flutter plugin that allows you to add an inline webview or open an in-app browser window (inspired by the popular cordova-plugin-inappbrowser).
version: 0.5.51
author: Lorenzo Pichilli <[email protected]>
homepage: https://github.com/pichillilorenzo/flutter_inappbrowser

environment:
sdk: ">=2.1.0-dev.7.1 <3.0.0"
sdk: ">=2.0.0-dev <3.0.0"
flutter: ">=0.10.1 <2.0.0"

dependencies:
Expand Down

0 comments on commit f02791f

Please sign in to comment.