DragAnimWidget constructor

const DragAnimWidget({
  1. required Widget child,
  2. Duration? duration,
  3. AnimationStatusListener? onAnimationStatus,
  4. Key? key,
})

Implementation

const DragAnimWidget({
  required this.child,
  Duration? duration,
  this.onAnimationStatus,
  Key? key,
}) : super(key: key, duration: duration ?? _animDuration);