It is an open-source package for the Flutter framework that provides an animated glitching effect that can be controlled for a specified widget.
When applying the glitch effect, you have two main options: one with a shader and the other without. The choice may depend on your specific needs, such as performance, extensive customization, or visual output.
For instance, the non-shader version can accept various provided colors and generate corresponding color channels, while the non-shader version is limited to only three colors (RGB). However, the shader version typically offers better performance and a richer visual effect.
You can play around with the settings on a playground.
Inspired by f_glitch