ShakeTransition constructor

const ShakeTransition({
  1. Key? key,
  2. Duration duration = const Duration(milliseconds: 900),
  3. double offset = 140.0,
  4. required Widget child,
})

Implementation

const ShakeTransition(
    {Key? key,
    this.duration = const Duration(milliseconds: 900),
    this.offset = 140.0,
    required this.child})
    : super(key: key);