updateSize method

dynamic updateSize(
  1. Map<String, dynamic> options
)

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;
}