size property

Size size

Compute the size the scenario will take up including padding, border, etc.

Implementation

Size get size => Size(
      screen.size.width + _margin * 2 + _borderThickness * 2,
      screen.size.height +
          _margin * 2 +
          _textHeight +
          _borderThickness * 2 +
          _space,
    );