Have you ever wanted to set the color of your text to a dynamic background color (or vice versa)?
The code in this repository shows how to use ThemeData.estimateBrightnessForColor(Color color)
to do just that.
Check out our Snippet for this article over at https://developer.school.