setMaximumSize method

Future<void> setMaximumSize(
  1. Size size
)

Sets the maximum size of window to width and height.

Implementation

Future<void> setMaximumSize(Size size) async {
  _target?.maximumSize = size.toNative();
}