GlitchSplitEffect constructor
const
GlitchSplitEffect({})
Creates a digital glitch split effect.
duration — one full glitch cycle duration.
curve — easing (linear for instant glitch transitions).
splitAmount — max horizontal split displacement in pixels.
probability — chance (0–1) any character glitches at a moment.
delayBetweenChars — stagger (zero for random simultaneous glitch).
Implementation
const GlitchSplitEffect({
super.duration = const Duration(milliseconds: 1500),
super.curve = Curves.linear,
this.splitAmount = 4.0,
this.probability = 0.3,
super.delayBetweenChars = Duration.zero,
});