shadow static method

Shadow shadow({
  1. dynamic strength,
  2. Color? color,
  3. dynamic offsetX,
  4. dynamic offsetY,
})

Adds a shadow to the image.

Receives dynamic, Color, dynamic, dynamic returns Effect.

Implementation

static Shadow shadow(
    {dynamic strength, Color? color, dynamic offsetX, dynamic offsetY}) {
  return Shadow(
      strength: strength, color: color, offsetX: offsetX, offsetY: offsetY);
}