resize method

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

Updates the backing canvas dimensions in browser builds.

Implementation

void resize({int? width, int? height}) {}