Widget build(int i, double animationValue, Widget widget) { double v = _getValue(values, animationValue, i); return new Transform.rotate( angle: v, child: widget, ); }