setAsFrameless method

Future<void> setAsFrameless()

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.

Implementation

Future<void> setAsFrameless() async {
  await _channel.invokeMethod('setAsFrameless');
}