title: Flutter - how use "non-linear" animation with LinearProgressIndicator?
body: <p>I using LinearProgressIndicator in my app. I need use &quot;non-linear&quot; animation with LinearProgressIndicator. I need the indicator to move unevenly (a little slower a little faster).</p>
  <p>This my current code:</p>
  <pre><code>  controller = AnimationController(
      vsync: this,
      upperBound: 1,
      animationBehavior: AnimationBehavior.preserve,
      duration: Duration(seconds: widget.duration),
    );
    ....
    controller.addListener(() {
       setState(() {
            .....
       });
    });
    ....
    LinearProgressIndicator(value: controller.value);
  </code></pre>
  <p>this works fine but is &quot;linear&quot;</p>
  <p>I tried:</p>
  <pre><code>    TweenAnimationBuilder&lt;double&gt;(
              tween: Tween&lt;double&gt;(begin: 0.0, end: 2),
              duration: const Duration(milliseconds: 3500),
              builder: (context, value, _) =&gt;  LinearProgressIndicator(
                      value: value,
                    ),)
  </code></pre>
  <p>but it doesn't give &quot;non-linear&quot; animation. how do i get &quot;non-linear&quot; animation for LinearProgressIndicator ? is it possible?</p>