Browse Source

Added reloading (Android)

Howard Tseng 7 năm trước cách đây
mục cha
commit
5b30c74b6b
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();