The error message for exiting the application is as follows:
Lost connection to device.
../../flutter/shell/platform/embedder/embedder.cc (2450): 'FlutterEngineSendPlatformMessage' returned 'kInvalidArguments'. Invalid engine handle.
Exited.
After my testing, the error only occurs when I enable size or titleBarStyle in WindowOptions:
The error message for exiting the application is as follows:
After my testing, the error only occurs when I enable size or titleBarStyle in WindowOptions: