Skip to content

Commit d0f755c

Browse files
document isMainWindow
1 parent f75e3fb commit d0f755c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/window_manipulator.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -653,6 +653,7 @@ class WindowManipulator {
653653
'WindowManipulator.initialize call.');
654654
}
655655

656+
/// Returns whether the window is the main window.
656657
static Future<bool> isMainWindow() async {
657658
await _completer.future;
658659
return await _windowManipulatorMethodChannel.invokeMethod('isMainWindow');

0 commit comments

Comments
 (0)