resize method

Future<Null> resize(
  1. Rect rect
)

resize PDFViewer

Implementation

Future<Null> 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);
}