NomoElevation constructor

const NomoElevation({
  1. required Widget child,
  2. BorderRadiusGeometry? borderRadius = BorderRadius.zero,
  3. BoxShape shape = BoxShape.rectangle,
  4. Clip clipBehavior = Clip.none,
  5. Color? backgroundColor,
  6. Color? shadowColor,
  7. double? elevation,
  8. Duration? animationDuration,
  9. Curve? animationCurve,
  10. Key? key,
})

Implementation

const NomoElevation({
  required this.child,
  this.borderRadius = BorderRadius.zero,
  this.shape = BoxShape.rectangle,
  this.clipBehavior = Clip.none,
  this.backgroundColor,
  this.shadowColor,
  this.elevation,
  this.animationDuration,
  this.animationCurve,
  super.key,
});