title: The argument type 'BoxShadow' can't be assigned to the parameter type 'List<BoxShadow>'
body: <p>I am trying to build a custom list Item in flutter. When I am trying to assign box radius to the list item I am facing the below syntax error:</p>
  
  <pre><code>**The argument type 'BoxShadow' can't be assigned to the parameter type 'List&lt;BoxShadow&gt;'.**
  </code></pre>
  
  <p>It seems like I couldn't assign box shadow to the list. I am new to flutter is there a way to add custom box shadow to a list item of an AnimatedList(). I have provided the code below:</p>
  
  <pre><code>Widget _buildItem(UserModel user, [int index]) {
  return Container(
    padding: EdgeInsets.all(8.0),
    margin: EdgeInsets.symmetric(horizontal: 10.0, vertical: 6.0),
    decoration: BoxDecoration(
      color: Colors.grey[50],
      borderRadius: BorderRadius.all(Radius.circular(5.0)),
      boxShadow: BoxShadow(
        blurRadius: 5.0
      )
    ),
    child: Row(
      children: &lt;Widget&gt;[
        InkWell(
          child: CircleAvatar(
            radius: 30.0,
            backgroundImage: NetworkImage(user.photo, scale: 64.0),
          ),
          onLongPress: index != null ? () =&gt; deleteUser(index) : null,
        )
      ],
    ),
  );
  </code></pre>
  
  <p>}</p>