MotionCard constructor

const MotionCard({
  1. Key? key,
  2. required Widget child,
  3. double maxTiltAngleX = 12.0,
  4. double maxTiltAngleY = 12.0,
  5. double elevation = 6.0,
  6. double borderRadius = 16.0,
  7. Color? shadowColor,
})

Implementation

const MotionCard({
  super.key,
  required this.child,
  this.maxTiltAngleX = 12.0,
  this.maxTiltAngleY = 12.0,
  this.elevation = 6.0,
  this.borderRadius = 16.0,
  this.shadowColor,
});