resize method

Future<void> resize(
  1. FlutterAngleTexture texture,
  2. AngleOptions options
)

Implementation

Future<void> resize(FlutterAngleTexture texture, AngleOptions options) async{
  texture.surfaceId?.width = (options.width * options.dpr).toInt();
  texture.surfaceId?.height = (options.height * options.dpr).toInt();
}