Pārlūkot izejas kodu

Added reloading (Android)

Howard Tseng 7 gadi atpakaļ
vecāks
revīzija
5b30c74b6b
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  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();