shadowDistanceFromPathOffset property
Determines how far the shadows should cast. Affects only if showPathShadow flag is set to true dx of the offset determines horizontal distance from the path, dy of the offset determines vertical distance from the path. +ve dx casts shadow to right and -ve dx casts shadow to the left, +ve dy casts shadow to the bottom and -ve dy casts shadow to the top. Default is Offset(-2, 12).
Implementation
final Offset shadowDistanceFromPathOffset;