title: Arc gradients in Flutter?
body: <p>I have a <code>Paint</code> object and I'm trying to use it to paint an Arc Gradient using <code>canvas.drawArc</code>, but the only way to do this (at least according to my research) is to use a <code>Shader</code>, but to get a <code>Shader</code> from a <code>Gradient</code> object, you have to use <code>Gradient.createShader(Rect rect)</code>, which takes a rectangle. My question is, is there any way to create a shader for an Arc and not a Rectangle? Here's what I have so far for reference:</p>
  
  <pre><code>Paint paint = new Paint()
    ..color = bgColor
    ..strokeCap = StrokeCap.round
    ..strokeWidth = 3.0
    ..style = PaintingStyle.stroke
    ..shader = new Gradient.radial(size.width / 2.0, size.height / 2.0, size.height / 3.0, Colors.transparent, timerColor, TileMode.mirror).createShader(/* I don't have a rect object */);
  
  
  canvas.drawArc(..., paint);
  </code></pre>