flutter-plugins icon indicating copy to clipboard operation
flutter-plugins copied to clipboard

Could this work to add the method loadHtmlString(..) for windows?

Open mmasdivins opened this issue 2 years ago • 0 comments

Hi, probably I should not write this on an issue, but I didn't know where to put it.

Looking at the documentation there is a method called NavigateToString that load the html string passed.

Could then be added the following method:

void WebView::NavigateToString(WCHAR c_navString[]) {
  if (webview_) {
    webview_->NavigateToString(c_navString);
  } else {
    std::cerr << "webview not created" << std::endl;
  }
}

This would allow to load html from string on windows?

mmasdivins avatar Feb 23 '23 15:02 mmasdivins