orientation property

OrientationType get orientation

Returns the current orientation type based on the device.

Implementation

static OrientationType get orientation => Media.orientation;