maximize method

Future<void> maximize({
  1. bool vertically = false,
})

Maximizes the window. vertically simulates aero snap, only works on Windows

Implementation

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