setMinimumSize method
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 _channel.invokeMethod('setMinimumSize', arguments);
}