shake method

T shake({
  1. Duration? delay,
  2. Duration? duration,
  3. Curve? curve,
  4. int? hz,
  5. Offset? offset,
  6. double? rotation,
})

Adds a shake extension to AnimateManager (Animate and AnimateList).

Implementation

T shake({
  Duration? delay,
  Duration? duration,
  Curve? curve,
  int? hz,
  Offset? offset,
  double? rotation,
}) =>
    addEffect(ShakeEffect(
      delay: delay,
      duration: duration,
      curve: curve,
      hz: hz,
      offset: offset,
      rotation: rotation,
    ));