size property Null safety

Size size

The distance between the upper-left corner and the lower-right corner of this rectangle.

Implementation

Size get size => Size(width, height);