getOrientation top-level property

Orientation get getOrientation

orientation → Orientation 屏幕方向(横向/纵向)

Implementation

Orientation get getOrientation => mediaQuery.orientation;