setClosable method

Future<void> setClosable(
  1. bool isClosable
)

Sets whether the window can be manually closed by user.

@platforms macos,windows

Implementation

Future<void> setClosable(bool isClosable) async {
  _target?.isClosable = isClosable;
}