canRotate property

bool get canRotate

Whether orientation is a question this device answers. Desktops are windows: there is no other way up.

Mirrors device_frame's canRotate, and it is what stops a matrix from running a desktop twice to produce the same pixels.

Implementation

bool get canRotate => kind != DeviceKind.desktop;