title: flutter ImageAsset Image extending outside BoxDecoration container
body: <p>I have Image inside a BoxDecoration that works when I get the image from CachedNetworkImageProvider but when I get the image from Assetimage the image is not clipped to the box size. Both image sources are displayed in ListTile.
  Code from AssetImage:</p>
  
  <pre><code>      return Container(
        width: widget.width, 
        height: widget.heigth,
        decoration: BoxDecoration(
        shape: BoxShape.circle,
        border: Border.all(color:widget.colour, width:3),
        image: DecorationImage(
        fit: BoxFit.cover,
        image: AssetImage(url)
         )....
  </code></pre>
  
  <p>Code from CachedNetworkImageProvider:</p>
  
  <pre><code>return Container(
  width: widget.width, 
  height: widget.heigth,
  decoration: BoxDecoration(
    shape: BoxShape.circle,
    border: Border.all(color:widget.colour, width:3),
    image: DecorationImage(
      fit: BoxFit.cover,
      image: CachedNetworkImageProvider(widget.location.imageURLs[widget.index])...
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/dmfld.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/dmfld.png" alt="enter image description here"></a></p>