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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM4NTUzNzIsIm5iZiI6MTcyMzg1NTA3MiwicGF0aCI6Ii83MjI4NDk0MC8yMzkyMzA0MTYtYzk0ODBlNDItZGM3MS00MjkzLTgyOGQtY2MxZWZlMjkxODY2LmdpZj9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE3VDAwMzc1MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTMxOTcyNzVkNDIxZjkxYmUzYWFkZjU4YzFkMDBmYTU3ZGZlYThmOTEwOTg2M2I0NWU0MWQ0MzM3ZDdiMjM3NzQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.gvhCK_S3YGfRC94zF0AzrXSm6FwJT4cUzteI8BXBpZI)
You can play around with the settings on a playground.
Inspired by f_glitch