BounceCard constructor

const BounceCard({
  1. required VoidCallback onPressed,
  2. Widget? child,
  3. Color color = BouncingWidgetColor.LIGHT,
  4. Color? shadowColor,
  5. double? elevation,
  6. Color? surfaceTintColor,
  7. ShapeBorder? shape,
  8. Clip? clipBehavior,
  9. bool borderOnForeground = true,
  10. bool semanticContainer = true,
  11. EdgeInsetsGeometry? margin,
  12. bool isScrollable = false,
  13. double scaleFactor = 1,
  14. Duration duration = const Duration(milliseconds: 200),
  15. bool canReverse = false,
  16. Key? key,
})

Implementation

const BounceCard({
  required this.onPressed,
  this.child,

  this.color = BouncingWidgetColor.LIGHT,
  this.shadowColor,
  this.elevation,
  this.surfaceTintColor,
  this.shape,
  this.clipBehavior,
  this.borderOnForeground = true,
  this.semanticContainer = true,
  this.margin,

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

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