TextEffectExt extension
Provides a extension method to apply a RollingTextEffect to a Widget.
- on
Methods
-
roll(
String newText, {EdgeInsets padding = EdgeInsets.zero, SymbolTapeStrategy tapeStrategy = const ConsistentSymbolTapeStrategy(0), Curve? tapeCurve, TapeSlideDirection tapeSlideDirection = TapeSlideDirection.up, bool staggerTapes = true, int staggerSoftness = 10, bool reverseStaggerDirection = false, Clip clipBehavior = Clip.hardEdge, double symbolDistanceMultiplier = 1, double? fixedTapeWidth, Duration? widthDuration, Curve? widthCurve}) → Widget -
Rolls each character individually to form the
newText
.