flutter/packages/flutter_test/lib/src
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
..
all_elements.dart rename Element.visitChildrenForSemantics to visitOnstageChildren; fix DropdownButton (#11744) 2017-09-01 09:48:12 -07:00
binding.dart Roll sync async engine (#18454) 2018-06-18 15:17:02 +02:00
controller.dart enable lint prefer_equal_for_default_values (#18156) 2018-06-05 08:50:40 +02:00
finders.dart Revert elimination of Dart 1 (#18460) 2018-06-13 12:46:39 -07:00
goldens.dart Golden file tests for clip (#18056) 2018-06-01 00:23:26 -07:00
matchers.dart Adding HSLColor and color 'within' matchers for HSVColor and HSLColor (#18294) 2018-06-18 17:11:42 -07:00
nonconst.dart work around const lints (#14416) 2018-02-02 08:06:42 +01:00
platform.dart Roll engine to 33b88173f3820690169348859bbdc29133179e0b (#14832) 2018-02-26 11:39:48 -08:00
stack_manipulation.dart Declare locals final where not reassigned (flutter_test) (#8569) 2017-03-03 17:51:01 -08:00
test_async_utils.dart Fix tests to use Ahem, and helpful changes around that (#9332) 2017-04-12 13:33:02 -07:00
test_exception_reporter.dart Revert elimination of Dart 1 (#18460) 2018-06-13 12:46:39 -07:00
test_pointer.dart Revert elimination of Dart 1 (#18460) 2018-06-13 12:46:39 -07:00
test_text_input.dart Pipe onsubmit for text form fields (#13687) 2018-01-03 23:57:38 +08:00
test_vsync.dart Improve test coverage (#7430) 2017-01-10 20:41:42 -08:00
widget_tester.dart Revert elimination of Dart 1 (#18460) 2018-06-13 12:46:39 -07:00