Skip to content

Commit cac7155

Browse files
authored
add annotation for setAsFrameless method (#408)
* add annotation for setAsFrameless method * add new annotation for setAsFrameless method * add new annotation for setAsFrameless method again
1 parent a982336 commit cac7155

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/src/window_manager.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ class WindowManager {
104104
await _channel.invokeMethod('ensureInitialized');
105105
}
106106

107+
/// You can call this to remove the window frame (title bar, outline border, etc), which is basically everything except the Flutter view, also can call setTitleBarStyle(TitleBarStyle.normal) or setTitleBarStyle(TitleBarStyle.hidden) to restore it.
107108
Future<void> setAsFrameless() async {
108109
await _channel.invokeMethod('setAsFrameless');
109110
}

0 commit comments

Comments
 (0)