NiceTypingAnimation constructor

const NiceTypingAnimation({
  1. Key? key,
  2. required String text,
  3. TextStyle? style,
  4. Duration characterDuration = const Duration(milliseconds: 50),
  5. Duration startDelay = Duration.zero,
  6. VoidCallback? onComplete,
  7. bool showCursor = true,
  8. String cursor = '|',
})

Implementation

const NiceTypingAnimation({
  super.key,
  required this.text,
  this.style,
  this.characterDuration = const Duration(milliseconds: 50),
  this.startDelay = Duration.zero,
  this.onComplete,
  this.showCursor = true,
  this.cursor = '|',
});