onBackground property
final
A color that's clearly legible when drawn on background.
To ensure that an app is accessibile, a contrast ratio of 4.5:1 for background and onBackground is recommended. See www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast-contrast.html.
Implementation
final Color onBackground