updateViewSize method

void updateViewSize(
  1. int width,
  2. int height,
  3. bool doublePage
)

Asks the native core to set the view size to width, height. Use doublePage arguments to render two pages in landscape mode.

Implementation

void updateViewSize(int width, int height, bool doublePage) {
  updateViewSizeNative?.call(_sdk, width, height, doublePage);
}