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
I tried to add some code like the following in my main.dart.
if (!kIsWeb && (Platform.isWindows ||Platform.isLinux ||Platform.isMacOS)) {
var size =Size(config.windowWidth, config.windowHeight);
// disable window resizingawaitDesktopWindow.setWindowSize(size);
awaitDesktopWindow.setMinWindowSize(size);
awaitDesktopWindow.setMaxWindowSize(size);
}
However, I got no response on windows 11, I have tested it ok on windows 10. If I comment these pieces of code or change it to use window_size of github.com/google/flutter-desktop-embedding, it works too.
64eLIdthUo.mp4
The text was updated successfully, but these errors were encountered:
I tried to add some code like the following in my
main.dart
.However, I got no response on windows 11, I have tested it ok on windows 10. If I comment these pieces of code or change it to use
window_size
ofgithub.com/google/flutter-desktop-embedding
, it works too.64eLIdthUo.mp4
The text was updated successfully, but these errors were encountered: