updateViewSize method
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);
}