shadowSigma function

double shadowSigma(
  1. ShadowEffect effect
)

A blur is the full width at half the peak of its Gaussian, which is 2.3548σ.

Implementation

double shadowSigma(ShadowEffect effect) => effect.blur / 2.3548;