resize method

void resize({
  1. required int width,
  2. required int height,
})

Reports a host resize event to the runtime.

Implementation

void resize({required int width, required int height}) {
  if (_disposed) return;
  backend.notifySizeChanged((width: width, height: height));
}