kDisabledAlphaBlend top-level constant

int const kDisabledAlphaBlend

Disabled alpha blend value for background elements.

Typically used together with onSurface, to make the disabled color in combination with kDisabledBackgroundAlpha. For example:

Color disable = colorScheme.primary
                 .blendAlpha(colorScheme.onSurface, kDisabledAlphaBlend)
                 .withAlpha(kDisabledBackgroundAlpha);

Value: 0x66 = 102 = 40%

Implementation

const int kDisabledAlphaBlend = 0x66;