show method

Future<void> show({
  1. bool inactive = false,
})

Shows and gives focus to the window.

Implementation

Future<void> show({bool inactive = false}) async {
  bool isMinimized = await this.isMinimized();
  if (isMinimized) {
    await restore();
  }
  final Map<String, dynamic> arguments = {
    'inactive': inactive,
  };
  await _channel.invokeMethod('show', arguments);
}