Bounce constructor

const Bounce({
  1. Key? key,
  2. Widget? child,
  3. Duration? duration,
  4. required VoidCallback onTap,
})

Implementation

const Bounce({Key? key, this.child, this.duration, required this.onTap});