invalidateShadows static method
Invalidates the window's shadow (macOS only).
This is a fairly technical method and is included here for completeness' sake. Normally, it should not be necessary to use it.
Implementation
static Future<void> invalidateShadows() async {
WindowManipulator.invalidateShadows();
}