@@ -25,7 +25,7 @@ describe("Flutter Color", () => {
2525 ] ;
2626
2727 expect ( flutterBoxDecorationColor ( node . fills ) ) . toEqual (
28- "\ncolor: Color(0xffef5138),"
28+ "\ncolor: Color(0xffef5138)," ,
2929 ) ;
3030 } ) ;
3131
@@ -107,7 +107,7 @@ describe("Flutter Color", () => {
107107 } ,
108108 ] ;
109109 expect ( flutterBoxDecorationColor ( node . fills ) ) . toEqual (
110- "\ncolor: Color(0x00000000),"
110+ "\ncolor: Color(0x00000000)," ,
111111 ) ;
112112 } ) ;
113113
@@ -135,7 +135,7 @@ describe("Flutter Color", () => {
135135 node . fills = [ gradientFill ] ;
136136
137137 expect ( flutterBoxDecorationColor ( node . fills ) ) . toEqual (
138- "\ngradient: LinearGradient(begin: Alignment.centerLeft, end: Alignment.centerRight, colors: [Colors.black], ),"
138+ "\ngradient: LinearGradient(begin: Alignment.centerLeft, end: Alignment.centerRight, colors: [Colors.black], )," ,
139139 ) ;
140140
141141 // topLeft to bottomRight (135)
@@ -144,7 +144,7 @@ describe("Flutter Color", () => {
144144 [ 1.3402682542800903 , - 1.4652644395828247 , 0.5407097935676575 ] ,
145145 ] ) ;
146146 expect ( flutterBoxDecorationColor ( node . fills ) ) . toEqual (
147- "\ngradient: LinearGradient(begin: Alignment.topLeft, end: Alignment.bottomRight, colors: [Colors.black], ),"
147+ "\ngradient: LinearGradient(begin: Alignment.topLeft, end: Alignment.bottomRight, colors: [Colors.black], )," ,
148148 ) ;
149149
150150 // bottom to top (-90)
@@ -153,7 +153,7 @@ describe("Flutter Color", () => {
153153 [ - 2.3507132530212402 , - 1.0997783306265774e-7 , 1.6796307563781738 ] ,
154154 ] ) ;
155155 expect ( flutterBoxDecorationColor ( node . fills ) ) . toEqual (
156- "\ngradient: LinearGradient(begin: Alignment.bottomCenter, end: Alignment.topCenter, colors: [Colors.black], ),"
156+ "\ngradient: LinearGradient(begin: Alignment.bottomCenter, end: Alignment.topCenter, colors: [Colors.black], )," ,
157157 ) ;
158158
159159 // top to bottom (90)
@@ -162,7 +162,7 @@ describe("Flutter Color", () => {
162162 [ 3.9725232124328613 , - 1.4210854715202004e-14 , - 0.8289895057678223 ] ,
163163 ] ) ;
164164 expect ( flutterBoxDecorationColor ( node . fills ) ) . toEqual (
165- "\ngradient: LinearGradient(begin: Alignment.topCenter, end: Alignment.bottomCenter, colors: [Colors.black], ),"
165+ "\ngradient: LinearGradient(begin: Alignment.topCenter, end: Alignment.bottomCenter, colors: [Colors.black], )," ,
166166 ) ;
167167
168168 // left to right (0)
@@ -171,7 +171,7 @@ describe("Flutter Color", () => {
171171 [ 6.030897026221282e-8 , - 3.364259719848633 , 2.188383102416992 ] ,
172172 ] ) ;
173173 expect ( flutterBoxDecorationColor ( node . fills ) ) . toEqual (
174- "\ngradient: LinearGradient(begin: Alignment.centerLeft, end: Alignment.centerRight, colors: [Colors.black], ),"
174+ "\ngradient: LinearGradient(begin: Alignment.centerLeft, end: Alignment.centerRight, colors: [Colors.black], )," ,
175175 ) ;
176176
177177 // right to left (180)
@@ -180,7 +180,7 @@ describe("Flutter Color", () => {
180180 [ 0.07747448235750198 , 4.357592582702637 , - 1.0299113988876343 ] ,
181181 ] ) ;
182182 expect ( flutterBoxDecorationColor ( node . fills ) ) . toEqual (
183- "\ngradient: LinearGradient(begin: Alignment.centerRight, end: Alignment.centerLeft, colors: [Colors.black], ),"
183+ "\ngradient: LinearGradient(begin: Alignment.centerRight, end: Alignment.centerLeft, colors: [Colors.black], )," ,
184184 ) ;
185185
186186 // bottom left to top right (-135)
@@ -189,7 +189,7 @@ describe("Flutter Color", () => {
189189 [ - 3.7344324588775635 , 2.3110527992248535 , 0.4661891460418701 ] ,
190190 ] ) ;
191191 expect ( flutterBoxDecorationColor ( node . fills ) ) . toEqual (
192- "\ngradient: LinearGradient(begin: Alignment.bottomRight, end: Alignment.topLeft, colors: [Colors.black], ),"
192+ "\ngradient: LinearGradient(begin: Alignment.bottomRight, end: Alignment.topLeft, colors: [Colors.black], )," ,
193193 ) ;
194194
195195 // bottom left to top right (-45)
@@ -198,7 +198,7 @@ describe("Flutter Color", () => {
198198 [ - 1.3051068782806396 , - 1.3525396585464478 , 1.8345310688018799 ] ,
199199 ] ) ;
200200 expect ( flutterBoxDecorationColor ( node . fills ) ) . toEqual (
201- "\ngradient: LinearGradient(begin: Alignment.bottomLeft, end: Alignment.topRight, colors: [Colors.black], ),"
201+ "\ngradient: LinearGradient(begin: Alignment.bottomLeft, end: Alignment.topRight, colors: [Colors.black], )," ,
202202 ) ;
203203
204204 // top right to bottom left (-45)
@@ -207,7 +207,7 @@ describe("Flutter Color", () => {
207207 [ 1.5028705596923828 , 1.2872726917266846 , - 1.0877336263656616 ] ,
208208 ] ) ;
209209 expect ( flutterBoxDecorationColor ( node . fills ) ) . toEqual (
210- "\ngradient: LinearGradient(begin: Alignment.topRight, end: Alignment.bottomLeft, colors: [Colors.black], ),"
210+ "\ngradient: LinearGradient(begin: Alignment.topRight, end: Alignment.bottomLeft, colors: [Colors.black], )," ,
211211 ) ;
212212 } ) ;
213213
@@ -264,7 +264,7 @@ describe("Flutter Color", () => {
264264 border: Border.all(color: Color(0xff3f3f3f), width: 4, ),
265265 gradient: LinearGradient(begin: Alignment.topLeft, end: Alignment.bottomRight, colors: [Colors.black, Color(0xffff0000)], ),
266266 ),
267- )`
267+ )` ,
268268 ) ;
269269 } ) ;
270270
0 commit comments