resizeWindow abstract method
Resizes the browser window.
Safe to call mid-flow (not only before the app boots): the harness waits for the browser viewport, a settled frame, and (if the CanvasKit accessibility DOM overlay is active) the semantics tree to catch up with the new size before returning.
Implementation
Future<void> resizeWindow({required Size size});