onTertiaryContainer property

Color? onTertiaryContainer
final

A color that's clearly legible when drawn on tertiaryContainer.

To ensure that an app is accessible, a contrast ratio between tertiaryContainer and onTertiaryContainer of at least 4.5:1 is recommended. See www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast-contrast.html.

If null, and if colorScheme.onTertiaryContainer and [onTertiary) is null, the color will via ColorScheme default be equal to resulting color scheme ColorScheme.onSecondary.

Implementation

final Color? onTertiaryContainer;