BouncingWidget constructor Null safety

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

BouncingWidget constructor

Implementation

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