size property Null safety
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;
Returns the size of the attached widget's RenderObject, in logical units.
Size is the size of the transformed widget in global coordinates.
Size get size => rect.size;