Sets the maximum size of window to width and height.
width
height
Future<void> setMaximumSize(Size size) async { _target?.maximumSize = size.toNative(); }