BouncingWidgetInOut constructor
const
BouncingWidgetInOut({
- Key? key,
- required Widget child,
- required VoidCallback onPressed,
- BouncingType bouncingType = BouncingType.bounceInOnly,
- double scaleFactor = 2,
- Duration duration = const Duration(milliseconds: 300),
- double animationDismissionValue = 0.0,
- 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);