diff --git a/windows/runner/main.cpp b/windows/runner/main.cpp index f8453d2..3f7e1c5 100644 --- a/windows/runner/main.cpp +++ b/windows/runner/main.cpp @@ -23,7 +23,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev, GetCommandLineArguments(); project.set_dart_entrypoint_arguments(std::move(command_line_arguments)); - + project.set_ui_thread_policy(flutter::UIThreadPolicy::RunOnSeparateThread); FlutterWindow window(project); Win32Window::Point origin(0, 0); Win32Window::Size size(1280, 720);