size property

Size get size

Returns the size of the layer after applying the scaling factor.

Implementation

Size get size => Size(rawSize.width * scale, rawSize.height * scale);