Custom3DCard constructor

const Custom3DCard({
  1. Key? key,
  2. Color? color,
  3. Color? shadowColor,
  4. double? elevation,
  5. ShapeBorder? shape,
  6. bool borderOnForeground = true,
  7. EdgeInsetsGeometry? margin,
  8. Clip? clipBehavior,
  9. Widget? child,
  10. double shadowSpread = 10,
  11. bool semanticContainer = true,
})

Implementation

const Custom3DCard({
  Key? key,
  this.color,
  this.shadowColor,
  this.elevation,
  this.shape,
  this.borderOnForeground = true,
  this.margin,
  this.clipBehavior,
  this.child,
  this.shadowSpread = 10,
  this.semanticContainer = true,
})  : assert(elevation == null || elevation >= 0.0),
      super(key: key);