window_manager
window_manager copied to clipboard
This plugin allows Flutter desktop apps to resizing and repositioning the window.
I am trying to create a wrapping class to control and keep tabs on `minimizable`, `maximizable` and `closable`. I would like to get if the window is frameless to show...
After window_manager.hide() called, I use window_manager.show(), then display a empty window. Is there some function to refresh the window render like window rerender function ? ![image](https://user-images.githubusercontent.com/6651400/207482818-d86c1a0d-2154-4803-9131-4e0a4ae23a3a.png)
我的两块屏幕: devicePixelRatio 的值为 1.25 的普通笔记本屏幕: ![笔记本屏幕](https://user-images.githubusercontent.com/46518383/204087200-4b918769-ce5b-42b3-8911-18e6f196a334.png) devicePixelRatio 的值为 1.5 的小米4k显示器: ![image](https://user-images.githubusercontent.com/46518383/204087371-a7b021ca-232e-425a-9d65-091c0eddc0d0.png) 程序初始化代码如下: ```dart void main() async { WidgetsFlutterBinding.ensureInitialized(); await windowManager.ensureInitialized(); WindowOptions windowOptions = const WindowOptions( size: Size(320, 460), minimumSize: Size(320,...
I'm on linux, haven't tested others. await m.setSize(const Size(222, 111), animate: true); await m.setTitleBarStyle(TitleBarStyle.hidden); await m.setResizable(false); await m.setClosable(false); await m.center(animate: true); That doesn't work unless I set await m.setResizable(true);
当前在 APP hide 后,通过 show 方法呼出后会抢占系统的焦点,希望能支持浮动窗口(APP show 之后再次 hide ,不需要再次点击鼠标获取上一个 APP 的焦点)。
Currently, when using ```dart await windowManager.setTitleBarStyle( TitleBarStyle.hidden, windowButtonVisibility: false, ); ``` The top part of the window frame is removed as well. Is this a bug, intended or am I...
1.使用desktop_multi_window打开主窗口和子窗口。 2.目前window_manager能在主窗口正常使用,去掉了系统标题栏,增加了自定义标题栏。 3.但是子窗口无法使用window_manager进行自定义标题栏。 ![屏幕截图 2024-04-21 203659](https://github.com/leanflutter/window_manager/assets/86797539/df1c1ba3-2411-4259-8705-3756d02e57aa)
Expected result : app gets closed immediately after calling destroy method
![window_manager_search](https://github.com/leanflutter/window_manager/assets/9575627/9cd14a6a-081a-4cd7-87ea-6f0c9dd7e5a3) https://github.com/user-attachments/assets/618b9359-b2d0-48da-8ca7-bc4d17db6635 There are many methods now, and it can be difficult to find the one you want in such a long list. This adds a search bar to the...
The window is set as frameless, after maximized there are 1 pixel gap as attached image: ![image](https://github.com/leanflutter/window_manager/assets/28286958/51918eb1-e893-469e-9123-f11e524b6f7a)