A Flutter widget that will give a Glitch Animation Effect to it's child widget.
- Add the latest version of package to your pubspec.yaml (and run
dart pub get):
dependencies: glitcheffect: ^1.1.1
- Import the package and use it in your Flutter App.
- There are a number of properties that you can modify:
- child : Widget on which you want a glitch effect.
- repeat : Whether the glitch effect should play once or play over and over.
default value is true.
- duration : How long it should take until the glitch effect repeats itself
default value is 3 seconds.
- colors : List of colors that you want to use for glitch effect.
default colors are Black, Grey and White.