resize method

Future<void> resize(
  1. Rect rect
)

resize webview

Implementation

Future<void> resize(Rect rect) async {
  final args = {};
  args['rect'] = {
    'left': rect.left,
    'top': rect.top,
    'width': rect.width,
    'height': rect.height,
  };
  await _channel.invokeMethod('resize', args);
}