Browse Source

Merge pull request #1 from howardt12345/patch-3

Added reloading (Android)
Howard Tseng 7 năm trước cách đây
mục cha
commit
ad86eb3567
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  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();