orientation property
Orientation
get
orientation
Returns the current screen orientation.
Implementation
Orientation get orientation => MediaQuery.of(this).orientation;
Returns the current screen orientation.
Orientation get orientation => MediaQuery.of(this).orientation;