FadeEffect constructor

const FadeEffect({
  1. Duration duration = const Duration(milliseconds: 1000),
  2. Curve curve = Curves.easeInOut,
  3. Duration delayBetweenChars = const Duration(milliseconds: 50),
  4. double opacityFrom = 0.0,
  5. double opacityTo = 1.0,
})

Creates a fade animation with configurable opacity range.

duration — animation cycle duration per character. curve — easing curve for the fade. delayBetweenChars — stagger delay between characters. opacityFrom — starting opacity (0 = transparent). opacityTo — ending opacity (1 = opaque).

Implementation

const FadeEffect({
  super.duration,
  super.curve,
  super.delayBetweenChars = const Duration(milliseconds: 50),
  this.opacityFrom = 0.0,
  this.opacityTo = 1.0,
});