updateSize method
Use this on resize.
Implementation
updateSize(Map<String, dynamic> options) async {
final args = {
"textureId": textureId,
"width": options["width"],
"height": options["height"],
};
final res = await _channel.invokeMethod('updateSize', args);
return res;
}