BouncingButton constructor

const BouncingButton({
  1. Key? key,
  2. required Widget child,
  3. required VoidCallback onPressed,
  4. double scaleFactor = 1,
  5. Duration duration = const Duration(milliseconds: 300),
  6. bool stayOnBottom = false,
})

Implementation

const BouncingButton({Key? key,
  required this.child,
  required this.onPressed,
  this.scaleFactor = 1,
  this.duration = const Duration(milliseconds: 300),
  this.stayOnBottom = false}) : super(key: key);