NUIBouncingAnimation constructor

const NUIBouncingAnimation({
  1. Key? key,
  2. required Widget child,
  3. required VoidCallback onTap,
  4. VoidCallback? onLongPress,
  5. double scaleFactor = 1,
  6. Duration duration = const Duration(milliseconds: 200),
})

Implementation

const NUIBouncingAnimation({
  Key? key,
  required this.child,
  required this.onTap,
  this.onLongPress,
  this.scaleFactor = 1,
  this.duration = const Duration(milliseconds: 200),
}) : super(key: key);