title: Listening For Device Orientation Changes In Flutter
body: <p>I am looking for a way of listening for changes to the phones orientation, with the intent to hide something if the phone is Landscape.</p>
  
  <p>My Layout is currently only displayed in portrait, as intended, but I want my app to do something if the device is rotated to Landscape, while keeping the layout in Portrait.</p>
  
  <p>I have tried using a <code>OrientationBuilder</code>, but this only works if the layout changes to Landscape.</p>
  
  <p>I have also tried using <code>MediaQuery.of(context).orientation</code>, but it continues to return portrait once the device is rotated, again only using the layouts orientation.</p>