BounceElevatedButton constructor

const BounceElevatedButton({
  1. required VoidCallback onPressed,
  2. Widget? child,
  3. double size = BouncingWidgetSize.MEDIUM,
  4. double widthFactor = 1.3,
  5. Color color = BouncingWidgetColor.PRIMARY,
  6. BorderRadiusGeometry? borderRadius,
  7. BoxBorder? border,
  8. Gradient? gradient,
  9. BoxShape? shape,
  10. List<BoxShadow>? boxShadow,
  11. bool isScrollable = false,
  12. double scaleFactor = 1,
  13. Duration duration = const Duration(milliseconds: 200),
  14. bool canReverse = false,
  15. Key? key,
})

Implementation

const BounceElevatedButton({
  required this.onPressed,
  this.child,
  this.size = BouncingWidgetSize.MEDIUM,
  this.widthFactor = 1.3,
  this.color = BouncingWidgetColor.PRIMARY,
  this.borderRadius,
  this.border,
  this.gradient,
  this.shape,
  this.boxShadow,

  this.isScrollable = false,
  this.scaleFactor = 1,
  this.duration = const Duration(milliseconds: 200),
  this.canReverse = false,

  Key? key,
}) : super(key: key);