AnimatedTyping constructor
Create a new widget passing text, style, and duration text can't be null. if duration is null a 3 seconds duration will be used
Implementation
const AnimatedTyping({
Key? key,
required this.text,
this.style,
this.duration,
}) : super(key: key);