瀏覽代碼

Added reloading (Android)

Howard Tseng 7 年之前
父節點
當前提交
5b30c74b6b
共有 1 個文件被更改,包括 2 次插入0 次删除
  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();