build method
Override this method to build widgets that depend on the state of the listenable (e.g., the current value of the animation).
Implementation
@override
Widget build(BuildContext context) {
return Transform.translate(
offset: Offset(0, -10 + _progress.value * 10),
child: child,
);
}