setWindowMaxSize static method

Future<void> setWindowMaxSize(
  1. Size size
)

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,
  });
}