void resizeWebCanvas(int width, int height) { throw UnsupportedError("Not supported on non-web platforms"); }