MixinNetwork / MixinNetwork/flutter-plugins

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

Open
#218 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

desktop_webview_window feature-request
Dominant language
C
Stars
512
Forks
292
Avg merge
15h 8m
Merged PRs (30d)
7

Description

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?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Locate the Windows WebView implementation and its existing navigation entry points; the issue names WebView::NavigateToString and WebView2's NavigateToString as references. Check the plugin's API conventions and platform exposure, then confirm the work is done when a callable Windows method loads the supplied HTML string.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, flutter
Domain
api, desktop-dev
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.