size method

Future<void> size({
  1. int width = 0,
  2. int height = 0,
})

Implementation

Future<void> size({int width = 0, int height = 0}) async {
  Map<String, dynamic> params = {"width": width, "height": height};
  await methodChannel.invokeMethod<void>('size', params);
}