getAnimations method
Generates per-character clip reveal from clipFrom to 1.0.
Implementation
@override
List<CharacterAnimation> getAnimations(double progress, int charCount) {
if (charCount == 0) return [];
return List.generate(charCount, (index) {
final staggered = staggeredProgress(progress, index, charCount);
final curved = applyCurve(staggered);
final clip = clipFrom + (1.0 - clipFrom) * curved;
return CharacterAnimation(clipProgress: clip.clamp(0.0, 1.0));
});
}