title: Why does the Chewie video player for flutter take up the whole screen size regardless of video dimensions?
body: <p>I am new to flutter, and am trying to play videos in my app. I followed <a href="https://resocoder.com/2019/04/13/flutter-video-player-chewie-tutorial/" rel="nofollow noreferrer">this</a> tutorial on using Chewie to play videos by copying and pasting the code from its <code>main.dart</code> and <code>chewie_list_item.dart</code> code snippets on the website into a fresh project (the github project provided by the website is too outdated for me to debug, so I did copy pasted instead)</p>
  <p>I expected to get something like this, with the player &quot;wrapped&quot; around the video:</p>
  <p><a href="https://i.stack.imgur.com/NdGOj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/NdGOj.png" alt="enter image description here" /></a></p>
  <p>However, I get this (on my android virtual device), with the video player taking up the entire size of the screen regardless of the video dimensions. I did try inputting <code>AspectRatio</code> according to the video dimensions, but all that did was to eliminate the stretching of the video, but the main issue remains.</p>
  <p><a href="https://i.stack.imgur.com/q6wcS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/q6wcS.png" alt="enter image description here" /></a></p>
  <p>Why does it behave this way, and how do I achieve the result shown in the first image? This is the test project I made: <a href="https://github.com/nathantew14/chewie_test" rel="nofollow noreferrer">https://github.com/nathantew14/chewie_test</a> Thanks!</p>