We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
isMainWindow
1 parent f75e3fb commit d0f755cCopy full SHA for d0f755c
lib/window_manipulator.dart
@@ -653,6 +653,7 @@ class WindowManipulator {
653
'WindowManipulator.initialize call.');
654
}
655
656
+ /// Returns whether the window is the main window.
657
static Future<bool> isMainWindow() async {
658
await _completer.future;
659
return await _windowManipulatorMethodChannel.invokeMethod('isMainWindow');
0 commit comments