title: How can I customize / rotate a BoxDecoration for a Container widget in Flutter?
body: <p>I have a Widget that builds a circular profile picture for bus stops, and as of right now it has a circular border surrounding the profile picture like such. I want to change the circular border to be dashed instead and to also animate by circling/rotating around the profile picture in its dashed form. Is there any easy way to do that? Thanks so much for any help you can provide!</p>
  
  <p><a href="https://i.stack.imgur.com/sShYd.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sShYd.png" alt="circular profile picture"></a></p>
  
  <pre><code>return new Transform(
    transform: new Matrix4.diagonal3Values(
      animation.avatarSize.value,
      animation.avatarSize.value,
      1.0,
    ),
    alignment: Alignment.center,
    child: new Container(
      width: 110.0,
      height: 110.0,
      decoration: new BoxDecoration(
        shape: BoxShape.circle,
        border: new Border.all(
          color: Colors.white30,
        ),
      ),
      margin: const EdgeInsets.only(
        top: 24.0,
        left: 16.0,
      ),
      padding: const EdgeInsets.all(3.0),
      child: new ClipOval(
        child: new Image.asset(
          stopName.avatar,
        ),
      ),
    ),
  );
  </code></pre>