DistortionAnimation constructor
const
DistortionAnimation({})
Implementation
const DistortionAnimation({
super.key,
required this.child,
required this.duration,
this.repeat = true, // Default value for repeat is true.
});