AnimatedGlitch.shader constructor

const AnimatedGlitch.shader({
  1. required Widget child,
  2. double colorChannelLevel,
  3. double distortionLevel,
  4. double glitchAmount,
  5. double speed,
  6. int chance,
  7. bool showDistortions,
  8. bool showColorChannels,
  9. double speedStep,
  10. bool isColorsShiftedVertically,
  11. bool isColorsShiftedHorizontally,
  12. bool isActive,
  13. Key? key,
})

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;