resizeWindow abstract method

Future<VKWebAppResizeWindowResult> resizeWindow({
  1. required int width,
  2. required int height,
})

VKWebAppResizeWindow initiates a change in the width and height of the IFrame.

Platforms: Web

width - window width. It can take values from 630px to 1000px. height - window height. It can take values from 500px to 4050px.

Implementation

Future<VKWebAppResizeWindowResult> resizeWindow({
  required int width,
  required int height,
});