Rounded Corners Image in Flutter : <p>I am using Flutter to make a list of information about movies. Now I want the cover image on the left to be a rounded corners picture. I did the following, but it didn’t work. Thanks!</p>

<pre><code>    getItem(var subject) {
    var row = Container(
      margin: EdgeInsets.all(8.0),
      child: Row(
        children: &lt;Widget&gt;[
          Container(
            width: 100.0,
            height: 150.0,
            decoration: BoxDecoration(
              borderRadius: BorderRadius.all(Radius.circular(8.0)),
              color: Colors.redAccent,
            ),
            child: Image.network(
              subject['images']['large'],
              height: 150.0,
              width: 100.0,
            ),
          ),
        ],
      ),
    );
    return Card(
      color: Colors.blueGrey,
      child: row,
    );
  }
</code></pre>

<p>as follows</p>

<p><a href="https://i.stack.imgur.com/KTdOv.png" rel="noreferrer"><img src="https://i.stack.imgur.com/KTdOv.png" alt="enter image description here"></a></p>
