viewportSize property

Size get viewportSize

Implementation

Size get viewportSize {
  if (_viewportSize != null) return _viewportSize!;
  if (hasSize) return _boxSize!;
  return Size.zero;
}
set viewportSize (Size? value)

Implementation

set viewportSize(Size? value) {
  if (value != null && value != _viewportSize) {
    _viewportSize = value;
    markNeedsLayout();
  }
}