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