offset property Null safety
final
The displacement of the shadow from the casting element.
Positive x/y offsets will shift the shadow to the right and down, while negative offsets shift the shadow to the left and up. The offsets are relative to the position of the element that is casting it.
Implementation
final Offset offset;