anim method
Makes the character animate with the specified new character.
Implementation
void anim(String newChar) {
Future.delayed(animDuration ~/ 2, () {
char.value = newChar;
});
show.value = false;
Future.delayed(animDuration, () {
show.value = true;
});
}