ElevationEffect constructor

const ElevationEffect({
  1. Duration? delay,
  2. Duration? duration,
  3. Curve? curve,
  4. double? begin,
  5. double? end,
  6. Color? color,
  7. BorderRadius? borderRadius,
})

Implementation

const ElevationEffect({
  Duration? delay,
  Duration? duration,
  Curve? curve,
  double? begin,
  double? end,
  Color? color,
  this.borderRadius,
})  : color = color ?? const Color(0xFF000000),
      super(
        delay: delay,
        duration: duration,
        curve: curve,
        begin: begin ?? neutralValue,
        end: end ?? (begin == null ? defaultValue : neutralValue),
      );