@@ -12,26 +12,11 @@ Widget darkModeTilesContainerBuilder(
1212) {
1313 return ColorFiltered (
1414 colorFilter: const ColorFilter .matrix (< double > [
15- - 1 ,
16- 0 ,
17- 0 ,
18- 0 ,
19- 255 ,
20- 0 ,
21- - 1 ,
22- 0 ,
23- 0 ,
24- 255 ,
25- 0 ,
26- 0 ,
27- - 1 ,
28- 0 ,
29- 255 ,
30- 0 ,
31- 0 ,
32- 0 ,
33- 1 ,
34- 0 ,
15+ //Colors get Inverted and then Hue Rotated by 180 degrees
16+ 0.5740000009536743 , - 1.4299999475479126 , - 0.14399999380111694 , 0 , 255 , //R
17+ - 0.4259999990463257 , - 0.429999977350235 , - 0.14399999380111694 , 0 , 255 , //G
18+ - 0.4259999990463257 , - 1.4299999475479126 , 0.8559999465942383 , 0 , 255 , //B
19+ 0 , 0 , 0 , 1 , 0 , //A
3520 ]),
3621 child: tilesContainer,
3722 );
@@ -46,26 +31,11 @@ Widget darkModeTileBuilder(
4631) {
4732 return ColorFiltered (
4833 colorFilter: const ColorFilter .matrix (< double > [
49- - 1 ,
50- 0 ,
51- 0 ,
52- 0 ,
53- 255 ,
54- 0 ,
55- - 1 ,
56- 0 ,
57- 0 ,
58- 255 ,
59- 0 ,
60- 0 ,
61- - 1 ,
62- 0 ,
63- 255 ,
64- 0 ,
65- 0 ,
66- 0 ,
67- 1 ,
68- 0 ,
34+ //Colors get Inverted and then Hue Rotated by 180 degrees
35+ 0.5740000009536743 , - 1.4299999475479126 , - 0.14399999380111694 , 0 , 255 , //R
36+ - 0.4259999990463257 , - 0.429999977350235 , - 0.14399999380111694 , 0 , 255 , //G
37+ - 0.4259999990463257 , - 1.4299999475479126 , 0.8559999465942383 , 0 , 255 , //B
38+ 0 , 0 , 0 , 1 , 0 , //A
6939 ]),
7040 child: tileWidget,
7141 );
0 commit comments