Ver Fonte

Commented functions with explanations

Howard Tseng há 7 anos atrás
pai
commit
5cee70127e
1 ficheiros alterados com 8 adições e 2 exclusões
  1. 8 2
      lib/src/base.dart

+ 8 - 2
lib/src/base.dart

@@ -113,10 +113,16 @@ class FlutterWebviewPlugin {
   /// Will trigger the [onDestroy] event
   Future close() => _channel.invokeMethod("close");
 
+  /// Reloads the WebView.
+  /// This is only available on Android for now.
   Future reload() => _channel.invokeMethod("reload");
-
+  
+  /// Navigates back on the Webview.
+  /// This is only available on Android for now.
   Future goBack() => _channel.invokeMethod("back");
-
+  
+  /// Navigates forward on the Webview.
+  /// This is only available on Android for now.
   Future goForward() => _channel.invokeMethod("forward");
 
   /// Close all Streams