mirror of
https://github.com/flutter/flutter
synced 2024-10-14 04:02:56 +00:00
49b183c502
If the caller doesn't explicitly give the brightness of the primary color, we now estimate it using an algorithm from the Web Content Accessibility Guidelines. Also, this patch contains a function that converts RGB colors to HSVColors. I was originally going to use that, but the WCAG algorithm ended up seeming like a better choice. The patch still includes this function because it's generally useful. Fixes #5718 |
||
---|---|---|
.. | ||
flutter | ||
flutter_driver | ||
flutter_test | ||
flutter_tools | ||
.gitignore |