window_manager
window_manager copied to clipboard
Windows App size is not setting to Full screen
The window does not set to fullscreen when using the property size: WidgetsBinding.instance.window.physicalSize. It does not adjust to the maximum available width and height.
Below is the code which I am using: windowManager.ensureInitialized().whenComplete(() { windowManager.waitUntilReadyToShow( WindowOptions( size: WidgetsBinding.instance.window.physicalSize, title: "Test", ), () async { await windowManager.setResizable(false); await windowManager.show(); await windowManager.focus(); }); });
The output is like: