AnimatedUnderlineText constructor

const AnimatedUnderlineText({
  1. Key? key,
  2. required String text,
  3. required Color underlineColor,
  4. required TextStyle textStyle,
  5. Duration duration = const Duration(milliseconds: 500),
  6. Duration startDelay = Duration.zero,
  7. SketchyAnimationMode animationMode = SketchyAnimationMode.organic,
})

Implementation

const AnimatedUnderlineText({
  super.key,
  required this.text,
  required this.underlineColor,
  required this.textStyle,
  this.duration = const Duration(milliseconds: 500),
  this.startDelay = Duration.zero,
  this.animationMode = SketchyAnimationMode.organic, // Default to Organic
});