-
-
Notifications
You must be signed in to change notification settings - Fork 172
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
setMinimumSize not working on macOS #335
Comments
Hey, would you mind sharing a minimum reproducible example with me? |
I tried changing versions. On 0.3.0
0.3.4
|
Could it be the latest Flutter 3.10 causing this issue? |
Oops, it was because I missed out the following line: await windowManager.ensureInitialized(); So this is not a bug, it's a mistake. After I added this line, it works like a charm. |
I haven't used that line before (doesn't appear to be needed for Android or Windows builds). I had switched to |
The following code is being called in the
main
method right beforerunApp
is called:Works as expected on Windows, but results in this error on macOS:
window_manager/WindowManager.swift:44: Fatal error: Unexpectedly found nil while unwrapping an Optional value
The text was updated successfully, but these errors were encountered: