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.
With shader:
Without shader:
![blue](https://private-user-images.githubusercontent.com/72284940/239230416-c9480e42-dc71-4293-828d-cc1efe291866.gif?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg4MjExNTcsIm5iZiI6MTczODgyMDg1NywicGF0aCI6Ii83MjI4NDk0MC8yMzkyMzA0MTYtYzk0ODBlNDItZGM3MS00MjkzLTgyOGQtY2MxZWZlMjkxODY2LmdpZj9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA2VDA1NDczN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTUxY2ViN2E4ZjU5YWUxNjcxYmM3YjYxMzNhYWE5Y2Y3ODBhNDdiZDJmMjk3N2M2OGYzOGFiYzljZTVjNzhhNzQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Gg_iJ4e1XTj7uKbyALrJmGbHI-j8L9jMasLaUtwuFAY)
You can play around with the settings on a playground.
Inspired by f_glitch