mirror of
https://github.com/flutter/flutter.git
synced 2025-06-03 00:51:18 +00:00
![]() This adds an HSLColor class which uses a perceptual color space based upon human perception of colored light (as opposed to HSV, which is based on pigment colors). You can see the difference in the color spaces here: https://en.wikipedia.org/wiki/HSL_and_HSV I also added a "within" matcher for both HSLColor and HSVColor that will check if the (floating point) color components are within a certain error. And tests. |
||
---|---|---|
.. | ||
animation | ||
calculator | ||
cupertino | ||
material | ||
shrine | ||
all.dart | ||
animation_demo.dart | ||
calculator_demo.dart | ||
colors_demo.dart | ||
contacts_demo.dart | ||
images_demo.dart | ||
pesto_demo.dart | ||
shrine_demo.dart | ||
typography_demo.dart | ||
video_demo.dart |