setClosable method

Future<void> setClosable(
  1. bool isClosable
)

Sets whether the window can be manually closed by user.

Supported Platforms:

  • Windows
  • macOS

Implementation

Future<void> setClosable(bool isClosable) async {
  final Map<String, dynamic> arguments = {
    'isClosable': isClosable,
  };
  await _invokeMethod('setClosable', arguments);
}