SwingAnimation constructor
const
SwingAnimation({})
Implementation
const SwingAnimation(
{this.alignment = Alignment.topCenter,
this.repeats = 2,
this.angle = pi / 12,
Duration duration = const Duration(seconds: 1),
Duration delay = Duration.zero,
Curve curve = Curves.linear,
CustomAnimationControl control = CustomAnimationControl.PLAY})
: super(duration: duration, delay: delay, curve: curve, control: control);