TrackingEffect constructor

const TrackingEffect({
  1. Duration duration = const Duration(milliseconds: 800),
  2. Curve curve = Curves.easeOut,
  3. Duration delayBetweenChars = Duration.zero,
  4. double spacing = 30.0,
  5. bool fromCenter = true,
})

Creates a tracking/spacing animation.

duration — animation cycle duration per character. curve — easing curve applied to the spread motion. delayBetweenChars — stagger between characters (zero = unison). spacing — horizontal spread distance between characters. fromCenter — spread from center (true) or from left edge (false).

Implementation

const TrackingEffect({
  super.duration = const Duration(milliseconds: 800),
  super.curve = Curves.easeOut,
  super.delayBetweenChars = Duration.zero,
  this.spacing = 30.0,
  this.fromCenter = true,
});