text_animation_plus library
A Flutter package of 23 plug-and-play text animation widgets.
Entry / reveal animations SplitText, BlurText, ScrollRevealText, DecryptedText, ShuffleText, ScrambledText, AsciiScrambleText
Typewriter & cursor TextType
Continuous loops CircularText, CurvedLoop, ShinyText, FuzzyText, GradientText, GlitchText, RotatingText
Pointer / proximity VariableProximityText, TextPressure, TextCursorTrail
Particle FallingText
Scroll-reactive ScrollFloatText, ScrollVelocityText
Counter CountUp
All widgets respect MediaQuery.disableAnimations and the platform
AccessibilityFeatures.disableAnimations flag — when either is true
the widget renders its final static state with no animation.
Classes
- AsciiScrambleText
- A ShuffleText preset that uses an ASCII density ramp as the charset, giving a retro ASCII-art decoding feel. Uses a monospace font.
- BlurText
- Reveals text with a per-segment blur-and-slide-in effect.
- CircularText
- Arranges characters along a continuously rotating circle.
- CountUp
-
Animates a numeric value from from to to with a configurable easing
curve, optionally formatted with an
intlNumberFormat. - CurvedLoop
- Scrolls text continuously along one or more bezier curves.
- DecryptedText
- Reveals text by replacing each character with random symbols that successively “decrypt” into the final character, from left to right.
- FallingText
- A particle system where characters from text rain down with simulated gravity. Characters wrap back to the top of the widget when they fall off the bottom edge.
- FuzzyText
- Applies a small looping oscillation and Gaussian blur to create a continuously “fuzzy” or vibrating text effect.
- GlitchText
- Applies a periodic RGB-split chromatic aberration effect with a random horizontal slice glitch to the text.
- GradientText
-
Renders text with a
LinearGradientshader that slowly rotates, producing an ever-changing colourful fill. - MotionTriggerWrapper
- A widget that fires onStart according to the MotionTrigger strategy.
- ReducedMotion
- Checks whether the user has requested reduced motion.
- RotatingText
- Cycles through a list of items, each transitioning via a slide-up and fade animation.
- ScrambledText
- Reveals each character in a randomised order; un-revealed characters are replaced with random glyphs from charset until their turn.
- ScrollFloatText
- Translates and fades text proportionally to the enclosing scroll view’s velocity, creating a floating parallax effect.
- ScrollRevealText
- A convenience alias for SplitText configured for scroll-reveal.
- ScrollVelocityText
- Applies a horizontal shear (skew) and motion blur to text proportional to the enclosing scroll view’s velocity.
- SegmentedText
- Utility that splits a String into segments according to AnimateBy.
- ShinyText
- Animates a sweeping shine highlight across statically-coloured text.
- ShuffleText
- Reveals text by locking in characters left-to-right from random noise.
- SplitText
- Reveals text by splitting it into segments that slide and fade in.
- Stagger
- Maps an overall animation progress value to a per-segment staggered value.
- TextCursorTrail
- Renders characters of text at past pointer positions, fading each character out over fade duration to create a trailing effect.
- TextPressure
- A high-contrast proximity preset for VariableProximityText.
- TextType
- Simulates a typewriter progressively revealing characters with a blinking cursor.
- TrueFocus
- Sweeps a sharp “focus window” across blurred text, creating a depth-of-field pan effect.
- VariableProximityText
- Individually scales and adjusts the opacity of each glyph based on its distance from the pointer.
Enums
- AnimateBy
- Controls how a text string is segmented before animation.
- BlurDirection
- Direction from which a BlurText segment enters.
- MotionTrigger
- Controls when an animation begins.
- SplitDirection
- Direction from which segments enter during a SplitText animation.
Typedefs
-
CurvedLoopPathBuilder
= List<
Path> Function(Size size) - Signature for a function that returns the bezier paths for CurvedLoop.