shadowHeight property
If non-null, shadowHeight defines the height of the shadow.
shadowHeight defaults to 5 and is an optional parameter. Note that this is an extra height given to the shadow.
The formula for shadow height is -> (width - childWidth) / 2 + shadowHeight
Implementation
final double shadowHeight;