viewportDimension property

Size viewportDimension

The dimensions of the viewport.

This Size represents the width and height of the visible area.

Implementation

Size get viewportDimension {
  assert(hasSize);
  return size;
}