openFile method
open file when platformview create filepath only support local path
Implementation
void openFile(int platformViewId, String filePath, Function(bool)? onOpen) {
MethodChannel('wv.io/FileReader' + "_$platformViewId").invokeMethod("openFile", filePath).then((openSuccess) {
onOpen?.call(openSuccess);
});
}