Closed JemmyWang94 closed 3 months ago
await windowManager.ensureInitialized();
WindowOptions windowOptions = const WindowOptions(
center: true,
backgroundColor: Colors.transparent,
skipTaskbar: false,
titleBarStyle: TitleBarStyle.hidden,
);
await windowManager.waitUntilReadyToShow(windowOptions, () async {
await windowManager.show();
await windowManager.focus();
});
If titleBarStyle: TitleBarStyle.normal
is set, it works fine. Did you update flutter 3.24?
Yes, I have updated flutter 3.24, but it is the same result in 3.24 and 3.22.3.
When I set titleBarStyle: TitleBarStyle.normal, it works well, Thanks your advise. But I need to hide titlebar.
It's amazing, why this phenomenon occurs?
me to
I have the same issue, did you manage to fix it? I also want to keep the titlebar hidden, but the window moveable/resizeable. I tried await windowManager.setResizable(true);
and await windowManager.setMovable(true);
but it doesn't seem to work.
Fixed on https://github.com/leanflutter/window_manager/pull/482, Please upgrade to 0.4.2
In version 0.3.9 of pub, I was able to drag the mouse at the edge to change the size of the application, but after updating to 0.4.0, I was unable to change the size of the application by dragging the edge. Not change anything. just update to 0.4.0.