title: Flutter orientation change stuttering
body: <p>I'm experiencing a stuttering when the device orientation is changing, see video below.</p>
  <p><a href="https://www.youtube.com/watch?v=Psmoi4NJ-aA" rel="nofollow noreferrer">https://www.youtube.com/watch?v=Psmoi4NJ-aA</a></p>
  <p>As you can see when changing the orientation from portrait to landscape nearly half of the screen is showing a black area and the green area under the centred text is gone for a small period.</p>
  <pre><code>Future main() async {
    WidgetsFlutterBinding.ensureInitialized();
    runApp(MyApp());
  }
  
  class MyApp extends StatelessWidget {
    @override
    Widget build(BuildContext context) {
      return MaterialApp(
        title: '',
        home: Scaffold(
          body: OrientationBuilder(builder: (context, orientation) {
            return Container(
              color: orientation == Orientation.portrait
                  ? Colors.green
                  : Colors.blue,
              child: Center(
                child: Text(
                  &quot;${orientation.toString()}&quot;,
                  style: Theme.of(context)
                      .textTheme
                      .headline6
                      .copyWith(color: Colors.white),
                ),
              ),
            );
          }),
        ),
      );
    }
  }
  </code></pre>
  <p>Any idea what could cause the issue ? Could it be a device related issue ?
  My device specs:</p>
  <p><a href="https://i.stack.imgur.com/TsQWz.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TsQWz.jpg" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/FzyDs.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FzyDs.jpg" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/Y5Khx.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Y5Khx.jpg" alt="enter image description here" /></a></p>