setAlwaysOnTop method

Future<void> setAlwaysOnTop(
  1. bool isAlwaysOnTop
)

Sets whether the window should show always on top of other windows.

Implementation

Future<void> setAlwaysOnTop(bool isAlwaysOnTop) async {
  final Map<String, dynamic> arguments = {
    'isAlwaysOnTop': isAlwaysOnTop,
  };
  await _channel.invokeMethod('setAlwaysOnTop', arguments);
}