setDesktopMaxWindowSize function

Future<void> setDesktopMaxWindowSize(
  1. Size size
)

Implementation

Future<void> setDesktopMaxWindowSize(Size size) async {
  if (!supportPlatformDesktop) return;
  curiosityChannel.invokeMethod<dynamic>('setMaxWindowSize',
      <String, double>{'width': size.width, 'height': size.height});
}