rotatedSize property

Size get rotatedSize

Implementation

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