boxShadow method

T boxShadow({
  1. Duration? delay,
  2. Duration? duration,
  3. Curve? curve,
  4. BoxShadow? begin,
  5. BoxShadow? end,
  6. BorderRadius? borderRadius,
})

Adds a BoxShadowEffect which animates a BoxShadow between begin and end (via DecoratedBox).

Implementation

T boxShadow({
  Duration? delay,
  Duration? duration,
  Curve? curve,
  BoxShadow? begin,
  BoxShadow? end,
  BorderRadius? borderRadius,
}) =>
    addEffect(BoxShadowEffect(
      delay: delay,
      duration: duration,
      curve: curve,
      begin: begin,
      end: end,
      borderRadius: borderRadius,
    ));