BounceTextButton constructor

const BounceTextButton({
  1. required VoidCallback onPressed,
  2. Widget? child,
  3. double size = BouncingWidgetSize.MEDIUM,
  4. double widthFactor = 1.3,
  5. bool isScrollable = false,
  6. double scaleFactor = 1,
  7. Duration duration = const Duration(milliseconds: 200),
  8. bool canReverse = false,
  9. Key? key,
})

Implementation

const BounceTextButton({
  required this.onPressed,
  this.child,
  this.size = BouncingWidgetSize.MEDIUM,
  this.widthFactor = 1.3,
  this.isScrollable = false,
  this.scaleFactor = 1,
  this.duration = const Duration(milliseconds: 200),
  this.canReverse = false,
  Key? key,
}) : super(key: key);