Size constructor

Size(
  1. int width,
  2. int height
)

Implementation

factory Size(int width, int height) {
  final p = calloc<cvg.Size>()
    ..ref.height = height
    ..ref.width = width;
  return Size.fromPointer(p);
}