FlagWaveEffect constructor
const
FlagWaveEffect({})
Creates a flag-waving 3D rotation effect.
duration — one full wave cycle duration.
curve — easing curve for the undulation.
amplitude — max rotationY angle in radians.
waveCount — number of wave crests across the text.
delayBetweenChars — stagger (zero for simultaneous wave).
Implementation
const FlagWaveEffect({
super.duration = const Duration(milliseconds: 1500),
super.curve = Curves.easeInOut,
this.amplitude = 0.4,
this.waveCount = 2,
super.delayBetweenChars = Duration.zero,
});