kElevationShadowOpacityRamp top-level constant

List<double> const kElevationShadowOpacityRamp

🟦 0.2, 0.14, 0.12 Considering the shadows in kElevationToShadow use these three Colors:

const Color _kKeyUmbraOpacity = Color(0x33000000); // opacity = 0.2
const Color _kKeyPenumbraOpacity = Color(0x24000000); // opacity = 0.14
const Color _kAmbientShadowOpacity = Color(0x1F000000); // opacity = 0.12

Implementation

const kElevationShadowOpacityRamp = [0.2, 0.14, 0.12];