getShadowBlurRadius function

double getShadowBlurRadius(
  1. ShadowHardness sharpness
)

Implementation

double getShadowBlurRadius(ShadowHardness sharpness) {
  if (sharpness == ShadowHardness.HARD) {
    return 0.0;
  } else if (sharpness == ShadowHardness.NORMAL) {
    return 4.0;
  } else {
    return 10.0;
  }
}