resizeOverlay method

  1. @override
Future<bool> resizeOverlay(
  1. int width,
  2. int height
)
override

Resize floating window

Implementation

@override
Future<bool> resizeOverlay(int width, int height) async {
  final result = await methodChannel.invokeMethod<bool>(
    Constants.resizeOverlay,
    {Constants.width: width, Constants.height: height},
  );
  return result ?? false;
}