drawShadow abstract method

void drawShadow(
  1. Path path,
  2. Color color,
  3. double elevation,
  4. bool transparentOccluder,
)

Draws a shadow for a Path representing the given material elevation.

The transparentOccluder argument should be true if the occluding object is not opaque.

The arguments must not be null.

Implementation

void drawShadow(Path path, Color color, double elevation, bool transparentOccluder);