flutter/examples/flutter_gallery/lib/demo
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
..
animation Fix broken asset uris (#18336) 2018-06-09 20:11:08 -07:00
calculator Spelling (#15229) 2018-03-06 21:36:03 -08:00
cupertino Fix broken asset uris (#18336) 2018-06-09 20:11:08 -07:00
material Adding HSLColor and color 'within' matchers for HSVColor and HSLColor (#18294) 2018-06-18 17:11:42 -07:00
shrine Fix broken asset uris (#18336) 2018-06-09 20:11:08 -07:00
all.dart Gallery video demo (#13195) 2017-12-01 18:28:36 +01:00
animation_demo.dart make @immutable const classes (#9532) 2017-04-21 23:09:42 +02:00
calculator_demo.dart make @immutable const classes (#9532) 2017-04-21 23:09:42 +02:00
colors_demo.dart enable lint prefer_equal_for_default_values (#18156) 2018-06-05 08:50:40 +02:00
contacts_demo.dart Fix broken asset uris (#18336) 2018-06-09 20:11:08 -07:00
images_demo.dart Fix broken asset uris (#18336) 2018-06-09 20:11:08 -07:00
pesto_demo.dart enable lint avoid_field_initializers_in_const_classes (#18415) 2018-06-13 07:20:18 +02:00
shrine_demo.dart Clean up the existing Navigator API. (#15718) 2018-03-22 13:21:07 -07:00
typography_demo.dart Export @required from src/widgets/framework.dart (#17208) 2018-05-03 08:50:40 -07:00
video_demo.dart Check video widget is mounted on call to setState (#18467) 2018-06-13 20:51:53 -07:00