executeJavascript method

dynamic executeJavascript(
  1. String command
)

Run Javascript commands in the editor using the webview controller

Implementation

executeJavascript(String command) async {
  return await _controller!.evaluateJavascript(source: 'editor.$command');
}