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

desktop_webview_window: how to open a fullscreen window in macos?

Open sinapsi opened this issue 3 years ago • 2 comments

desktop_webview_window, Macos

I can use CreateConfiguration() with a big windowHeight and i obtain a window that fit exactly the screen vertically. But if i give a too big windowWidth the window is bigger than the screen. Is there a way to get the screen resolution?

sinapsi avatar Dec 16 '21 09:12 sinapsi

Is there a way to get the screen resolution?

There should be a way to get the screen resolution, but not in this plugin.

Maybe you can do some search on pub.dev to find the plugin who can provider this function.

boyan01 avatar Dec 17 '21 03:12 boyan01

@sinapsi check this plugin https://github.com/google/flutter-desktop-embedding/tree/master/plugins/window_size or this Plugin https://pub.dev/packages/desktop_window

cc @boyan01

a-eniou-pvotal avatar Dec 30 '21 15:12 a-eniou-pvotal