You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. I want to use this library but it does weird thing. I have setup it like this
`
void main() async {
WidgetsFlutterBinding.ensureInitialized();
await windowManager.ensureInitialized();
windowManager.hide();
And when I'm starting my application, it appears on left site of my screen and after 1 second (maybe 2) it is repositioning to center of my screen. It doesn't look good. Can I setup it somehow to appears right in the center of my screen?
The text was updated successfully, but these errors were encountered:
Hi. I want to use this library but it does weird thing. I have setup it like this
`
void main() async {
WidgetsFlutterBinding.ensureInitialized();
await windowManager.ensureInitialized();
windowManager.hide();
WindowOptions windowOptions = const WindowOptions(
size: Size(1200, 700),
center: true,
skipTaskbar: false,
titleBarStyle: TitleBarStyle.normal,
);
windowManager.waitUntilReadyToShow(windowOptions, () async {
await windowManager.show();
await windowManager.focus();
});
runApp(const MyApp());
}
`
And when I'm starting my application, it appears on left site of my screen and after 1 second (maybe 2) it is repositioning to center of my screen. It doesn't look good. Can I setup it somehow to appears right in the center of my screen?
The text was updated successfully, but these errors were encountered: