Closed shareef-dweikat closed 3 years ago
You aren't setting the size, only the minimum and maximum for user resize events. Not resizing is the correct behavior in that case.
If you want to set the window's size, you need to call the API for that.
@stuartmorgan What is the correct API? I can't find it. Is it setWindowFrame? if so, it is not working.
Is it setWindowFrame?
Yes.
if so, it is not working.
Please file an issue, with details.
Is this a bug in one of the plugins in this project?
Which plugin is this bug report about?
window_size
Describe the bug
I have this bug on windows When i first lunch the app, window does not get max and min unless i click on it and move it using the mouse.
void main() { WidgetsFlutterBinding.ensureInitialized(); if (Platform.isWindows || Platform.isLinux || Platform.isMacOS) { setWindowTitle('App title'); setWindowMinSize(Size(360, 640)); setWindowMaxSize(Size(360, 640)); } runApp(MyApp()); }
Flutter doctor