setDesktopWindowSize method
Implementation
Future<bool> setDesktopWindowSize(Size size) async {
if (!supportPlatformDesktop) return false;
final bool? state = await channel.invokeMethod<bool?>('setWindowSize',
<String, double>{'width': size.width, 'height': size.height});
return state ?? false;
}