BouncingWidgetInOut constructor

const BouncingWidgetInOut({
  1. Key? key,
  2. required Widget child,
  3. required VoidCallback onPressed,
  4. BouncingType bouncingType = BouncingType.bounceInOnly,
  5. double scaleFactor = 2,
  6. Duration duration = const Duration(milliseconds: 300),
  7. double animationDismissionValue = 0.0,
  8. double animationCompletionValue = 0.1,
})

Implementation

const BouncingWidgetInOut(
    {Key? key,
    required this.child,
    required this.onPressed,
    this.bouncingType = BouncingType.bounceInOnly,
    this.scaleFactor = 2,
    this.duration = const Duration(milliseconds: 300),
    this.animationDismissionValue = 0.0,
    this.animationCompletionValue = 0.1})
    : super(key: key);