size property Null safety

Size size

Returns the size of the attached widget's RenderObject, in logical units.

Size is the size of the transformed widget in global coordinates.

Implementation

Size get size => rect.size;