Returns bool - Whether the window has a shadow. On Windows, always returns true unless window is frameless.
bool
@platforms macos,windows
Future<bool> hasShadow() async { return _target?.hasShadow ?? false; }