Sets whether the window can be manually closed by user.
@platforms macos,windows
Future<void> setClosable(bool isClosable) async { _target?.isClosable = isClosable; }