setWindowSize method
Implementation
@override
Future<void> setWindowSize(String windowId, int width, int height) {
// Idem : sans .toDouble(), width/height arrivent à 0 côté natif ->
// "gtk_window_resize: assertion 'width > 0' failed".
return methodChannel.invokeMethod('setWindowSize', {
'windowId': windowId,
'width': width.toDouble(),
'height': height.toDouble(),
});
}