rotatedSize property

Size get rotatedSize

Implementation

Size get rotatedSize => rotation == 90 || rotation == 270 ? Size(box.height, box.width) : Size(box.width, box.height);