setSize method
A no-op on a virtual window, logged rather than vanishing.
Implementation
Future<void> setSize(Size size) async {
if (isVirtual) {
await _logIgnored('setSize');
return;
}
await DVNativeBridge.require<bool>('window.setSize', <String, Object?>{
'id': nativeId,
'width': size.width,
'height': size.height,
});
}