Bounce constructor

const Bounce({
  1. Key? key,
  2. required Widget child,
  3. dynamic onTap()?,
  4. dynamic onTapUp(
    1. TapUpDetails
    )?,
  5. dynamic onSecondaryTapUp(
    1. TapUpDetails
    )?,
  6. dynamic onLongPress(
    1. TapDownDetails
    )?,
  7. HitTestBehavior behavior = HitTestBehavior.deferToChild,
  8. Duration duration = _defaultDuration,
  9. Duration tapDelay = _defaultTapDelay,
  10. Duration longPressDuration = _defaultLongPressDuration,
  11. bool scale = true,
  12. double scaleFactor = 0.95,
  13. bool tilt = true,
  14. double tiltAngle = pi / 10,
  15. FilterQuality? filterQuality = FilterQuality.high,
  16. MouseCursor? cursor,
})

Implementation

const Bounce(
    {Key? key,
    required this.child,
    this.onTap,
    this.onTapUp,
    this.onSecondaryTapUp,
    this.onLongPress,
    this.behavior = HitTestBehavior.deferToChild,
    this.duration = _defaultDuration,
    this.tapDelay = _defaultTapDelay,
    this.longPressDuration = _defaultLongPressDuration,
    this.scale = true,
    this.scaleFactor = 0.95,
    this.tilt = true,
    this.tiltAngle = pi / 10,
    this.filterQuality = FilterQuality.high,
    this.cursor})
    : super(key: key);