diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index 9a0e9194..e6069a4f 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -16,15 +16,7 @@
-
-
-
-
-
-
-
-
-
+
@@ -45,8 +37,8 @@
-
-
+
+
@@ -54,11 +46,11 @@
-
+
-
-
+
+
@@ -68,11 +60,11 @@
-
+
-
-
+
+
@@ -83,8 +75,8 @@
-
-
+
+
@@ -100,7 +92,6 @@
- canGoBackgetOponLoadErrorStatefulWidget
@@ -130,6 +121,7 @@
printthrowInAppWeb
+ Booleanactivity.getPreferences(0)
@@ -172,10 +164,10 @@
-
-
+
+
@@ -192,6 +184,17 @@
+
+
+
+
+
+
+
+
+
+
+
@@ -209,17 +212,6 @@
-
-
-
-
-
-
-
-
-
-
-
@@ -382,7 +374,7 @@
-
+
@@ -391,7 +383,7 @@
-
+
@@ -664,10 +656,27 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
@@ -676,8 +685,8 @@
-
-
+
+
@@ -686,23 +695,6 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/README.md b/README.md
index 410728c8..dbafe686 100644
--- a/README.md
+++ b/README.md
@@ -382,7 +382,7 @@ inAppWebViewController.goBack();
#### Future\ InAppWebViewController.canGoBack
-Returns a Boolean value indicating whether the `InAppWebView` can move backward.
+Returns a boolean value indicating whether the `InAppWebView` can move backward.
```dart
inAppWebViewController.canGoBack();
@@ -398,12 +398,36 @@ inAppWebViewController.goForward();
#### Future\ InAppWebViewController.canGoForward
-Returns a Boolean value indicating whether the `InAppWebView` can move forward.
+Returns a boolean value indicating whether the `InAppWebView` can move forward.
```dart
inAppWebViewController.canGoForward();
```
+#### Future\ InAppWebViewController.goBackOrForward
+
+Goes to the history item that is the number of steps away from the current item. Steps is negative if backward and positive if forward.
+
+```dart
+inAppWebViewController.goBackOrForward(int steps);
+```
+
+#### Future\ InAppWebViewController.canGoBackOrForward
+
+Returns a boolean value indicating whether the `InAppWebView` can go back or forward the given number of steps. Steps is negative if backward and positive if forward.
+
+```dart
+inAppWebViewController.canGoBackOrForward(int steps);
+```
+
+#### Future\ InAppWebViewController.goTo
+
+Navigates to a `WebHistoryItem` from the back-forward `WebHistory.list` and sets it as the current item.
+
+```dart
+inAppWebViewController.goTo(WebHistoryItem historyItem);
+```
+
#### Future\ InAppWebViewController.isLoading
Check if the Web View of the `InAppWebView` instance is in a loading state.
@@ -498,6 +522,16 @@ Gets the current `InAppWebView` options. Returns `null` if the options are not s
inAppWebViewController.getOptions();
```
+#### Future\ InAppWebViewController.getCopyBackForwardList
+
+Gets the WebHistory for this WebView. This contains the back/forward list for use in querying each item in the history stack.
+This contains only a snapshot of the current state.
+Multiple calls to this method may return different objects.
+The object returned from this method will not be updated to reflect any new state.
+```dart
+inAppWebViewController.getCopyBackForwardList();
+```
+
### `InAppBrowser` class
In-App Browser using native WebView.
diff --git a/lib/flutter_inappbrowser.dart b/lib/flutter_inappbrowser.dart
index eed21322..45105344 100644
--- a/lib/flutter_inappbrowser.dart
+++ b/lib/flutter_inappbrowser.dart
@@ -873,7 +873,7 @@ class InAppWebViewController {
await _channel.invokeMethod('goBack', args);
}
- ///Returns a Boolean value indicating whether the [InAppWebView] can move backward.
+ ///Returns a boolean value indicating whether the [InAppWebView] can move backward.
Future canGoBack() async {
Map args = {};
if (_inAppBrowserUuid != null) {
@@ -893,7 +893,7 @@ class InAppWebViewController {
await _channel.invokeMethod('goForward', args);
}
- ///Returns a Boolean value indicating whether the [InAppWebView] can move forward.
+ ///Returns a boolean value indicating whether the [InAppWebView] can move forward.
Future canGoForward() async {
Map args = {};
if (_inAppBrowserUuid != null) {
@@ -916,7 +916,7 @@ class InAppWebViewController {
await _channel.invokeMethod('goBackOrForward', args);
}
- ///Gets whether the page can go back or forward the given number of steps.
+ ///Returns a boolean value indicating whether the [InAppWebView] can go back or forward the given number of steps. Steps is negative if backward and positive if forward.
Future canGoBackOrForward(int steps) async {
assert(steps != null);
@@ -929,7 +929,7 @@ class InAppWebViewController {
return await _channel.invokeMethod('canGoBackOrForward', args);
}
- ///Navigates to an item from the back-forward list and sets it as the current item.
+ ///Navigates to a [WebHistoryItem] from the back-forward [WebHistory.list] and sets it as the current item.
Future goTo(WebHistoryItem historyItem) async {
await goBackOrForward(historyItem.offset);
}