Browse Source

Added reloading (Android)

Howard Tseng 7 years ago
parent
commit
5b30c74b6b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      lib/src/base.dart

+ 2 - 0
lib/src/base.dart

@@ -113,6 +113,8 @@ class FlutterWebviewPlugin {
   /// Will trigger the [onDestroy] event
   Future close() => _channel.invokeMethod("close");
 
+  Future reload() => _channel.invokeMethod("reload");
+
   /// Close all Streams
   void dispose() {
     _onDestroy.close();