onSecondary property

Color onSecondary
final

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

To ensure that an app is accessible, a contrast ratio of 4.5:1 for secondary and onSecondary is recommended. See www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast-contrast.html.

Implementation

final Color onSecondary