UnderlineEffect constructor

const UnderlineEffect({
  1. Duration duration = const Duration(milliseconds: 600),
  2. Curve curve = Curves.easeOut,
  3. Color? lineColor,
  4. double height = 2.0,
  5. Duration delayBetweenChars = const Duration(milliseconds: 30),
})

Creates an underline drawing animation.

duration — animation cycle duration per character. curve — easing curve for underline draw. lineColor — underline color (null = text color). height — underline thickness in pixels. delayBetweenChars — stagger delay between characters.

Implementation

const UnderlineEffect({
  super.duration = const Duration(milliseconds: 600),
  super.curve = Curves.easeOut,
  this.lineColor,
  this.height = 2.0,
  super.delayBetweenChars = const Duration(milliseconds: 30),
});