createAnimation method
Implementation
Animation<Alignment> createAnimation() {
return AlignmentTween(begin: _startAlignment, end: _endAlignment).animate(
CurvedAnimation(
parent: _animationController!,
curve: richbar.showCurve,
reverseCurve: richbar.dismissCurve,
),
);
}