-
-
Notifications
You must be signed in to change notification settings - Fork 282
Open
Description
I started using the window manager. I managed to open it in debug mode, but when I build the its not working
WidgetsFlutterBinding.ensureInitialized();
await windowManager.ensureInitialized();
const windowOptions = WindowOptions(
size: Size(800, 500),
minimumSize: Size(800, 500),
center: true,
backgroundColor: Colors.transparent,
skipTaskbar: false,
titleBarStyle: TitleBarStyle.hidden,
);
await windowManager.waitUntilReadyToShow(windowOptions, () async {
await windowManager.show();
await windowManager.focus();
});
runApp(const MyApp());
}```
I found out `await windowManager.ensureInitialized();` freeze the app from opening
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels