dock method

Future<void> dock({
  1. required DockSide side,
  2. required int width,
})

Docks the window. only works on Windows

Supported Platforms:

  • Windows

Implementation

Future<void> dock({required DockSide side, required int width}) async {
  final Map<String, dynamic> arguments = {
    'left': side == DockSide.left,
    'right': side == DockSide.right,
    'width': width,
  };
  await _invokeMethod('dock', arguments);
}