CustomBounceWidget constructor

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

Implementation

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