title: Changing Aspect Ratio of Image in Flutter
body: <p>I am using flutter and I am trying to change the aspect ratio of an image from 4:3 to 16:9. I have tried using the AspectRatio Widget and also using FittedBox but the image still remains 4:3</p>
  
  <p>I have tried using AspectRatio, changing the fit prop on the Image to cover, fit, and contain</p>
  
  <pre><code>Card(elevation: 3.0, child: Column(
  children: &lt;Widget&gt;[Container(child:
  AspectRatio(aspectRatio: 16.0 / 9.0, child: FittedBox(fit: 
  BoxFit.contain,
  child: Image(image: AssetImage('images/maggie.jpg')),),)
                                     )],
  </code></pre>