createWindow static method
Create a new window.
Implementation
static Future<WindowManagerPlus?> createWindow([List<String>? args]) async {
final Map<String, dynamic> arguments = {
'args': args,
};
int? windowId =
await _staticChannel.invokeMethod('createWindow', arguments);
if (windowId == null) {
return null;
}
_completers[windowId] = Completer();
await _completers[windowId]?.future;
return WindowManagerPlus._fromWindowId(windowId);
}