TrackingEffect constructor
const
TrackingEffect({})
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,
});