Skip to content

Commit

Permalink
add annotation for setAsFrameless method (#408)
Browse files Browse the repository at this point in the history
* add annotation for setAsFrameless method

* add new annotation for setAsFrameless method

* add new annotation for setAsFrameless method again
  • Loading branch information
Sand2Dev authored Oct 8, 2023
1 parent a982336 commit cac7155
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/window_manager.dart
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ class WindowManager {
await _channel.invokeMethod('ensureInitialized');
}

/// 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.
Future<void> setAsFrameless() async {
await _channel.invokeMethod('setAsFrameless');
}
Expand Down

0 comments on commit cac7155

Please sign in to comment.