shadowSigma function
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;
A blur is the full width at half the peak of its Gaussian, which is 2.3548σ.
double shadowSigma(ShadowEffect effect) => effect.blur / 2.3548;