SpinEffect constructor
const
SpinEffect({})
Creates a spin animation with configurable rotation and scale.
duration — animation cycle duration per character.
curve — easing curve for the spin.
spinCount — number of full 360° rotations per character.
scaleFrom — starting scale (animates to 1.0).
delayBetweenChars — stagger delay between characters.
Implementation
const SpinEffect({
super.duration = const Duration(milliseconds: 1000),
super.curve = Curves.easeOut,
this.spinCount = 1,
this.scaleFrom = 0.0,
super.delayBetweenChars = const Duration(milliseconds: 60),
});