Run flutter create --platforms=windows .

Review the changes to the following files:
    
      windows/runner/CMakeLists.txt
      windows/runner/win32_window.cpp
      windows/runner/win32_window.h

Verify your app builds using flutter build windows

Note:
  Follow the run loop migration guide if the build fails
  with the following error message:

Example

PR 862 shows the migration work for the
Flutter Gallery app.