Skip to content

A WebView2-powered Flutter WebView implementation for the Windows platform.

License

Notifications You must be signed in to change notification settings

mvenditto-mydev/flutter-webview-windows

 
 

Repository files navigation

webview_windows

CI Pub

A Flutter WebView plugin for Windows built on Microsoft Edge WebView2.

Target platform requirements

Development platform requirements

  • Visual Studio 2019
  • Windows 10 SDK 2004+ (10.0.19041.0)
  • (recommended) nuget.exe in your $PATH (The makefile attempts to download nuget if it's not installed, however, this fallback might not work in China)

Demo

image

webview_demo1.mp4

Limitations

This plugin provides seamless composition of web-based contents with other Flutter widgets by rendering off-screen.

Unfortunately, Microsoft Edge WebView2 doesn't currently have an explicit API for offscreen rendering. In order to still be able to obtain a pixel buffer upon rendering a new frame, this plugin currently relies on the Windows.Graphics.Capture API provided by Windows 10. The downside is that older Windows versions aren't currently supported.

Older Windows versions might still be targeted by using BitBlt for the time being.

See:

About

A WebView2-powered Flutter WebView implementation for the Windows platform.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • C++ 76.3%
  • Dart 15.5%
  • CMake 6.9%
  • C 1.3%