create method

Future<CGSize> create(
  1. double width,
  2. double height
)

Implementation

static Future<CGSize> create(
  double width,
  double height,
) async {
  final refId = await kMethodChannel.invokeMethod('CGSize::create', {
    'width': width,
    'height': height,
  });
  return CGSize()..refId = refId;
}