tneotia/html-editor-enhanced

MissingPluginException(No implementation found for method evaluateJavascript on channel com.pichillilorenzo/flutter_inappwebview_12)[BUG]

Opened this issue · 0 comments

MissingPluginException(No implementation found for method evaluateJavascript on channel com.pichillilorenzo/flutter_inappwebview_12)
I/flutter (13435): #0 MethodChannel._invokeMethod (package:flutter/src/services/platform_channel.dart:332:7)
I/flutter (13435):
I/flutter (13435): #1 InAppWebViewController.evaluateJavascript (package:flutter_inappwebview/src/in_app_webview/in_app_webview_controller.dart:1460:16)
I/flutter (13435):
I/flutter (13435): #2 HtmlEditorController._evaluateJavascript (package:html_editor_enhanced/src/html_editor_controller_mobile.dart:264:20)
I/flutter (13435):

when i set back button Navigator.of(context).pop()

this issue replicates

`@override
void dispose() {
controller.clear();
controller.clearFocus();

super.dispose();

}

HtmlEditorController controller = HtmlEditorController();

Container(
height: 300,
child: HtmlEditor(
controller: controller, //required
otherOptions: OtherOptions(
decoration: BoxDecoration(border: Border())),
htmlEditorOptions: HtmlEditorOptions(
autoAdjustHeight: true,
mobileContextMenu:
ContextMenu(options: ContextMenuOptions()),
initialText: messageController.text,
hint: "",
//initalText: "text content initial, if any",
),
),
)
`