Open Moosphan opened 2 years ago
If you modify your win32_windows.cpp by adding
#include <dwmapi.h>
#pragma comment(lib, "dwmapi.lib")
...
MARGINS margins = {-1};
DwmExtendFrameIntoClientArea(window, &margins)
after CreateWindow is called you'll be able to use transparency. Not sure how to do it in Dart yet, it's a good hack though.
See: https://github.com/flutter/flutter/issues/59969
Example: