resize method
Implementation
Future<void> resize(FlutterAngleTexture texture, AngleOptions options) async{
final element = texture.surfaceId as html.HTMLCanvasElement;
element.width = (options.width * options.dpr).toInt();
element.height = (options.height * options.dpr).toInt();
}