title: Flutter - Which widget is the most optimized for live scaling Image with 0 to 1 values?
body: <p>I want to animate a certain widget as long as the music is playing. The data is obtained continuously from a callback within my code.</p>
  <pre><code>void _onMusicFFTData(double normalized){
  // TODO: somehow scale image widget with the normalized value
  }
  </code></pre>
  <p>My values received from this callback are already interpolated, so I do not want any kind of Curve usage. I want to scale a certain image directly with the values received from the callback. I saw that there is ScaleTransition with scale property.</p>
  <pre><code>ScaleTransition(scale: ,)
  </code></pre>
  <p>I could not see any ways to feed normalized 0 to 1 values to this widget. It only takes predefined animation such as</p>
  <pre><code> _controller = AnimationController(
        duration: const Duration(seconds: 2),
        vsync: this,
      )..repeat(reverse: true);
      _animation = CurvedAnimation(
        parent: _controller,
        curve: Curves.fastOutSlowIn,
      );
  </code></pre>
  <p>I can basically use SetState and use a Transform.scale but I dont think thats the right way to animate as it feels unintuitive and more like a workaround. Which widget would help me scale my image widget with 0 to 1 live values during runtime?</p>