Skip to content

Windows App size is not setting to Full screen #533

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Prajit7 opened this issue Feb 28, 2025 · 0 comments
Open

Windows App size is not setting to Full screen #533

Prajit7 opened this issue Feb 28, 2025 · 0 comments

Comments

@Prajit7
Copy link

Prajit7 commented Feb 28, 2025

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:

Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant