removeTranslate method
void
removeTranslate()
Removes the CSS transform of avatar. Also stops the requested animation from setTranslate.
Implementation
void removeTranslate() {
AnimationHelper.stop();
if (avatar != null) {
avatar!.style.transform = '';
}
}