setWindowMaxSize static method
Sets the maximum size for the window
Implementation
static Future<void> setWindowMaxSize(Size size) async {
await _completer.future;
await _windowManipulatorMethodChannel.invokeMethod('setWindowMaxSize', {
'width': size.width,
'height': size.height,
});
}