mirror of
https://github.com/flutter/flutter.git
synced 2026-02-14 06:45:56 +08:00
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 is a new way to build high-performance, cross-platform mobile apps. Flutter is optimized for today's — and tomorrow's — mobile devices. We are focused on low-latency input and high frame rates on Android and iOS.
See the getting started guide for information about using Flutter.