Skip to content

Flutter Desktop Webview Plugin #78

@ghost

Description

I need to open a different window that runs a webview. The use case is because i need to load some external third party stuff in that is just web based.

On desktops i use zserge which loads the native webview of the OS browser.
https://github.com/zserge/webview
Its great and easy.

So i am proposing a Flutter Desktop plugin for a Webview, just like the Flutter Mobile plugin here:
https://github.com/dart-flitter/flutter_webview_plugin

The API will be different for now of course.
Here is the golang wrapper over the cpp code.
For example here its obvious: https://github.com/zserge/webview/tree/master/examples/minimal-go

I see 2 options:

  1. i could make a shell call presumable from the Dart side to open the binary on the file system, but then the two windows no longer know about easy other.
  2. A better way would be to open a "flutter window" and have the webview load inside it.
    I think this maybe really easy due to zserge having a cpp base language to call.

If anyone has any other thoughts on this before i drill into this let me know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions