setMinimumSize method

Future<void> setMinimumSize(
  1. Size size
)

Sets the minimum size of window to width and height.

Implementation

Future<void> setMinimumSize(Size size) async {
  final Map<String, dynamic> arguments = {
    'devicePixelRatio': getDevicePixelRatio(),
    'width': size.width,
    'height': size.height,
  };
  await _invokeMethod('setMinimumSize', arguments);
}