WobbleAnimation constructor

const WobbleAnimation({
  1. Alignment alignment = Alignment.bottomCenter,
  2. int repeats = 3,
  3. double angle = pi / 30,
  4. Dimension translation = const Length(5),
  5. Duration duration = const Duration(seconds: 1),
  6. Duration delay = Duration.zero,
  7. Curve curve = Curves.linear,
  8. CustomAnimationControl control = CustomAnimationControl.PLAY,
})

Implementation

const WobbleAnimation(
    {this.alignment = Alignment.bottomCenter,
    this.repeats = 3,
    this.angle = pi / 30,
    this.translation = const Length(5),
    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);