setViewSize method
Implementation
void setViewSize(Size size) {
lastViewSize = size;
if (connection == null || !connection!.attached) return;
if (kIsWeb) return;
connection!.setEditableSizeAndTransform(
size,
Matrix4.identity(),
);
}