AnimatedGlitch

normalpurple cyan blue

What is animated_glitch ?

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.

Comparison

With shader:

ezgif-3-67648a42b4

Without shader:

blue

Documentation

Playground

You can play around with the settings on a playground.

Inspired by f_glitch

Libraries

animated_glitch