Sets whether the window should have a shadow. On Windows, doesn't do anything unless window is frameless.
Future<void> setHasShadow(bool hasShadow) async { _target?.hasShadow = hasShadow; }