LiquidEffect constructor
const
LiquidEffect({})
Creates a liquid/fluid distortion animation.
duration — one full oscillation cycle duration.
curve — easing curve for the fluid motion.
amplitude — horizontal stretch amplitude factor.
frequency — oscillation frequency of the wave.
waveHeight — vertical displacement amplitude in pixels.
delayBetweenChars — stagger (zero for simultaneous wave).
Implementation
const LiquidEffect({
super.duration = const Duration(milliseconds: 1500),
super.curve = Curves.easeInOut,
this.amplitude = 0.3,
this.frequency = 2.0,
this.waveHeight = 6.0,
super.delayBetweenChars = Duration.zero,
});