size property

Size size

Return the width/height of the box, if set. Note this is not the real size of the box, since it ignores the child and the layout.

Implementation

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