ElastiRectTween.ofPosition constructor
Implementation
ElastiRectTween.ofPosition({required this.begin, required this.end})
: heightTween = Tween(begin: begin.height, end: end.height),
widthTween = Tween(begin: begin.width, end: end.width),
centerTween = Tween(begin: begin.center, end: end.center)
.chain(CurveTween(curve: ElasticOutCurve(0.6))),
super(begin: begin, end: end);