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 {
  final Map<String, dynamic> arguments = {
    'isClosable': isClosable,
  };
  await _channel.invokeMethod('setClosable', arguments);
}