flutter/packages/flutter_test
Greg Spencer efa2a474ea
Adding HSLColor and color 'within' matchers for HSVColor and HSLColor (#18294)
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.
2018-06-18 17:11:42 -07:00
..
lib Adding HSLColor and color 'within' matchers for HSVColor and HSLColor (#18294) 2018-06-18 17:11:42 -07:00
test enable lint prefer_equal_for_default_values (#18156) 2018-06-05 08:50:40 +02:00
BUILD.gn Leave source list empty for Fuchsia targets. (#15337) 2018-03-12 15:38:32 +01:00
pubspec.yaml Update all packages (#18506) 2018-06-15 17:46:36 +02:00