setWindowSize method

  1. @override
Future<void> setWindowSize(
  1. double width,
  2. double height, {
  3. double radius = 10,
})
override

Sets the window size.

  • width: The target width.
  • height: The target height.
  • radius: The target radius.

Implementation

@override
Future<void> setWindowSize(double width, double height, {double radius = 10}) async {
  await methodChannel.invokeMethod<void>('setWindowSize', {
    'width': width,
    'height': height,
    'radius': radius,
  });
}