AnimatedTyping constructor

const AnimatedTyping({
  1. Key? key,
  2. required String text,
  3. TextStyle? style,
  4. Duration? duration,
})

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);