orientation method
Determine the phone's orientation
Implementation
Orientation orientation(BuildContext context) =>
_orientation = MediaQuery.of(context).orientation;
Determine the phone's orientation
Orientation orientation(BuildContext context) =>
_orientation = MediaQuery.of(context).orientation;