AnimatedGlitch.shader constructor
const
AnimatedGlitch.shader({})
Shortcut to create a AnimatedGlitchWithShader
.
Implementation
const factory AnimatedGlitch.shader({
required Widget child,
double colorChannelLevel,
double distortionLevel,
double glitchAmount,
double speed,
int chance,
bool showDistortions,
bool showColorChannels,
double speedStep,
bool isColorsShiftedVertically,
bool isColorsShiftedHorizontally,
bool isActive,
Key? key,
}) = AnimatedGlitchWithShader;