resizeOverlay static method

Future<bool?> resizeOverlay(
  1. int width,
  2. int height,
  3. bool enableDrag
)

Update the overlay size in the screen

Implementation

static Future<bool?> resizeOverlay(
  int width,
  int height,
  bool enableDrag,
) async {
  final bool? _res = await _overlayChannel.invokeMethod<bool?>(
    'resizeOverlay',
    {
      'width': width,
      'height': height,
      'enableDrag': enableDrag,
    },
  );
  return _res;
}