json_flit 0.0.1 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (174) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +3 -0
  3. data/Gemfile.lock +29 -3
  4. data/README.md +3 -5
  5. data/demo/.ruby-version +1 -0
  6. data/demo/Gemfile +73 -0
  7. data/demo/Gemfile.lock +218 -0
  8. data/demo/Procfile.dev +3 -0
  9. data/demo/README.md +24 -0
  10. data/demo/Rakefile +6 -0
  11. data/demo/app/assets/builds/.keep +0 -0
  12. data/demo/app/assets/fonts/Lato-Regular.ttf +0 -0
  13. data/demo/app/assets/fonts/MetalMania-Regular.ttf +0 -0
  14. data/demo/app/assets/images/.keep +0 -0
  15. data/demo/app/assets/images/image1.jpg +0 -0
  16. data/demo/app/assets/images/image10.jpg +0 -0
  17. data/demo/app/assets/images/image11.jpg +0 -0
  18. data/demo/app/assets/images/image12.jpg +0 -0
  19. data/demo/app/assets/images/image13.jpg +0 -0
  20. data/demo/app/assets/images/image14.jpg +0 -0
  21. data/demo/app/assets/images/image15.jpg +0 -0
  22. data/demo/app/assets/images/image16.jpg +0 -0
  23. data/demo/app/assets/images/image17.jpg +0 -0
  24. data/demo/app/assets/images/image2.jpg +0 -0
  25. data/demo/app/assets/images/image3.jpg +0 -0
  26. data/demo/app/assets/images/image4.jpg +0 -0
  27. data/demo/app/assets/images/image5.jpg +0 -0
  28. data/demo/app/assets/images/image6.jpg +0 -0
  29. data/demo/app/assets/images/image7.jpg +0 -0
  30. data/demo/app/assets/images/image8.jpg +0 -0
  31. data/demo/app/assets/images/image9.jpg +0 -0
  32. data/demo/app/assets/images/profile.jpg +0 -0
  33. data/demo/app/assets/images/visa.svg +1 -0
  34. data/demo/app/assets/pages/align.json +182 -0
  35. data/demo/app/assets/pages/animated_align.json +50 -0
  36. data/demo/app/assets/pages/animated_container.json +56 -0
  37. data/demo/app/assets/pages/animated_cross_fade.json +63 -0
  38. data/demo/app/assets/pages/animated_default_text_style.json +53 -0
  39. data/demo/app/assets/pages/animated_opacity.json +49 -0
  40. data/demo/app/assets/pages/animated_padding.json +50 -0
  41. data/demo/app/assets/pages/animated_physical_model.json +73 -0
  42. data/demo/app/assets/pages/animated_positioned.json +54 -0
  43. data/demo/app/assets/pages/animated_positioned_directional.json +60 -0
  44. data/demo/app/assets/pages/animated_size.json +61 -0
  45. data/demo/app/assets/pages/animated_switcher.json +62 -0
  46. data/demo/app/assets/pages/animated_theme.json +52 -0
  47. data/demo/app/assets/pages/aspect_ratio.json +124 -0
  48. data/demo/app/assets/pages/asset_images.json +667 -0
  49. data/demo/app/assets/pages/bank_example.json +913 -0
  50. data/demo/app/assets/pages/baseline.json +81 -0
  51. data/demo/app/assets/pages/buttons.json +139 -0
  52. data/demo/app/assets/pages/card.json +121 -0
  53. data/demo/app/assets/pages/center.json +25 -0
  54. data/demo/app/assets/pages/checkbox.json +77 -0
  55. data/demo/app/assets/pages/circular_progress_indicator.json +45 -0
  56. data/demo/app/assets/pages/clips.json +156 -0
  57. data/demo/app/assets/pages/conditional.json +197 -0
  58. data/demo/app/assets/pages/cupertino_switch.yaml +72 -0
  59. data/demo/app/assets/pages/decorated_box.json +38 -0
  60. data/demo/app/assets/pages/directionality.json +31 -0
  61. data/demo/app/assets/pages/dynamic.json +299 -0
  62. data/demo/app/assets/pages/fitted_box.json +41 -0
  63. data/demo/app/assets/pages/for_each.json +130 -0
  64. data/demo/app/assets/pages/form.json +276 -0
  65. data/demo/app/assets/pages/fractional_translation.json +31 -0
  66. data/demo/app/assets/pages/fractionally_sized_box.json +34 -0
  67. data/demo/app/assets/pages/gestures.json +83 -0
  68. data/demo/app/assets/pages/grid_view.json +217 -0
  69. data/demo/app/assets/pages/image_page.json +32 -0
  70. data/demo/app/assets/pages/images.json +89 -0
  71. data/demo/app/assets/pages/indexed_stack.json +101 -0
  72. data/demo/app/assets/pages/input_error.json +64 -0
  73. data/demo/app/assets/pages/interactive_viewer.json +30 -0
  74. data/demo/app/assets/pages/intrinsic_height.json +63 -0
  75. data/demo/app/assets/pages/intrinsic_width.json +63 -0
  76. data/demo/app/assets/pages/issue_10.json +23 -0
  77. data/demo/app/assets/pages/issue_109.json +65 -0
  78. data/demo/app/assets/pages/issue_11.json +23 -0
  79. data/demo/app/assets/pages/issue_12.json +34 -0
  80. data/demo/app/assets/pages/issue_20_list.json +31 -0
  81. data/demo/app/assets/pages/issue_20_single.json +31 -0
  82. data/demo/app/assets/pages/issue_30.json +35 -0
  83. data/demo/app/assets/pages/layout_builder.json +403 -0
  84. data/demo/app/assets/pages/length.json +125 -0
  85. data/demo/app/assets/pages/limited_box.json +33 -0
  86. data/demo/app/assets/pages/linear_progress_indicator.json +25 -0
  87. data/demo/app/assets/pages/list_view.json +410 -0
  88. data/demo/app/assets/pages/measured.json +266 -0
  89. data/demo/app/assets/pages/offstage.json +50 -0
  90. data/demo/app/assets/pages/opacity.json +136 -0
  91. data/demo/app/assets/pages/overflow_box.json +52 -0
  92. data/demo/app/assets/pages/placeholder.json +57 -0
  93. data/demo/app/assets/pages/popup_menu_button.json +38 -0
  94. data/demo/app/assets/pages/radio.json +60 -0
  95. data/demo/app/assets/pages/rich_text.json +45 -0
  96. data/demo/app/assets/pages/scroll_view.json +974 -0
  97. data/demo/app/assets/pages/semantics.json +212 -0
  98. data/demo/app/assets/pages/set_default_value.json +77 -0
  99. data/demo/app/assets/pages/simple_page.json +25 -0
  100. data/demo/app/assets/pages/slivers.json +268 -0
  101. data/demo/app/assets/pages/switch.json +77 -0
  102. data/demo/app/assets/pages/theme.json +228 -0
  103. data/demo/app/assets/pages/tooltip.json +77 -0
  104. data/demo/app/assets/pages/tween_animation.json +43 -0
  105. data/demo/app/assets/pages/variables.json +64 -0
  106. data/demo/app/assets/pages/wrap.json +117 -0
  107. data/demo/app/assets/stylesheets/application.css +1 -0
  108. data/demo/app/assets/stylesheets/application.tailwind.css +13 -0
  109. data/demo/app/assets/widgets/issue_24.json +42 -0
  110. data/demo/app/channels/application_cable/channel.rb +4 -0
  111. data/demo/app/channels/application_cable/connection.rb +4 -0
  112. data/demo/app/controllers/application_controller.rb +2 -0
  113. data/demo/app/controllers/concerns/.keep +0 -0
  114. data/demo/app/controllers/welcome_controller.rb +22 -0
  115. data/demo/app/helpers/application_helper.rb +2 -0
  116. data/demo/app/helpers/welcome_helper.rb +2 -0
  117. data/demo/app/javascript/application.js +3 -0
  118. data/demo/app/javascript/controllers/application.js +9 -0
  119. data/demo/app/javascript/controllers/hello_controller.js +7 -0
  120. data/demo/app/javascript/controllers/index.js +8 -0
  121. data/demo/app/jobs/application_job.rb +7 -0
  122. data/demo/app/mailers/application_mailer.rb +4 -0
  123. data/demo/app/models/application_record.rb +3 -0
  124. data/demo/app/models/concerns/.keep +0 -0
  125. data/demo/app/views/layouts/application.html.erb +16 -0
  126. data/demo/app/views/layouts/mailer.html.erb +13 -0
  127. data/demo/app/views/layouts/mailer.text.erb +1 -0
  128. data/demo/app/views/welcome/index.html.erb +5 -0
  129. data/demo/app/views/welcome/show.html.erb +6 -0
  130. data/demo/bin/bundle +109 -0
  131. data/demo/bin/dev +8 -0
  132. data/demo/bin/rails +4 -0
  133. data/demo/bin/rake +4 -0
  134. data/demo/bin/setup +33 -0
  135. data/demo/config/application.rb +37 -0
  136. data/demo/config/boot.rb +4 -0
  137. data/demo/config/cable.yml +11 -0
  138. data/demo/config/credentials.yml.enc +1 -0
  139. data/demo/config/database.yml +25 -0
  140. data/demo/config/environment.rb +5 -0
  141. data/demo/config/environments/development.rb +68 -0
  142. data/demo/config/environments/production.rb +87 -0
  143. data/demo/config/environments/test.rb +60 -0
  144. data/demo/config/initializers/assets.rb +12 -0
  145. data/demo/config/initializers/content_security_policy.rb +25 -0
  146. data/demo/config/initializers/filter_parameter_logging.rb +8 -0
  147. data/demo/config/initializers/inflections.rb +16 -0
  148. data/demo/config/initializers/permissions_policy.rb +11 -0
  149. data/demo/config/locales/en.yml +33 -0
  150. data/demo/config/puma.rb +43 -0
  151. data/demo/config/routes.rb +5 -0
  152. data/demo/config/storage.yml +34 -0
  153. data/demo/config/tailwind.config.js +22 -0
  154. data/demo/config.ru +6 -0
  155. data/demo/db/development.sqlite3 +0 -0
  156. data/demo/db/seeds.rb +7 -0
  157. data/demo/lib/assets/.keep +0 -0
  158. data/demo/lib/tasks/.keep +0 -0
  159. data/demo/log/.keep +0 -0
  160. data/demo/public/404.html +67 -0
  161. data/demo/public/422.html +67 -0
  162. data/demo/public/500.html +66 -0
  163. data/demo/public/apple-touch-icon-precomposed.png +0 -0
  164. data/demo/public/apple-touch-icon.png +0 -0
  165. data/demo/public/favicon.ico +0 -0
  166. data/demo/public/robots.txt +1 -0
  167. data/demo/storage/.keep +0 -0
  168. data/demo/tmp/.keep +0 -0
  169. data/demo/tmp/pids/.keep +0 -0
  170. data/demo/tmp/storage/.keep +0 -0
  171. data/demo/vendor/.keep +0 -0
  172. data/lib/json_flit/registry.rb +144 -0
  173. data/lib/json_flit/version.rb +1 -1
  174. metadata +185 -3
@@ -0,0 +1,913 @@
1
+ {
2
+ "_designCredit": "https://dribbble.com/RikoSapto",
3
+ "type": "theme",
4
+ "args": {
5
+ "data": {
6
+ "primaryColor": "#2c3ea4",
7
+ "scaffoldBackgroundColor": "#2c3ea4"
8
+ }
9
+ },
10
+ "child": {
11
+ "type": "scaffold",
12
+ "args": {
13
+ "appBar": {
14
+ "type": "app_bar",
15
+ "args": {
16
+ "elevation": 0,
17
+ "title": {
18
+ "type": "text",
19
+ "args": {
20
+ "text": "Bank Example"
21
+ }
22
+ }
23
+ }
24
+ },
25
+ "body": {
26
+ "type": "single_child_scroll_view",
27
+ "child": {
28
+ "type": "container",
29
+ "args": {
30
+ "alignment": "topCenter",
31
+ "padding": [
32
+ 16,
33
+ 20
34
+ ],
35
+ "width": "infinity"
36
+ },
37
+ "child": {
38
+ "type": "container",
39
+ "args": {
40
+ "constraints": {
41
+ "maxWidth": 420
42
+ }
43
+ },
44
+ "child": {
45
+ "type": "column",
46
+ "args": {
47
+ "crossAxisAlignment": "center"
48
+ },
49
+ "children": [
50
+ {
51
+ "type": "dotted_border",
52
+ "args": {
53
+ "color": "#fff",
54
+ "dashPattern": [
55
+ 6,
56
+ 6
57
+ ]
58
+ },
59
+ "child": {
60
+ "type": "container",
61
+ "args": {
62
+ "height": 100,
63
+ "margin": 8,
64
+ "width": 100
65
+ },
66
+ "child": {
67
+ "type": "clip_rrect",
68
+ "args": {
69
+ "borderRadius": {
70
+ "type": "circular",
71
+ "radius": 50
72
+ }
73
+ },
74
+ "child": {
75
+ "type": "asset_image",
76
+ "args": {
77
+ "name": "assets/images/profile.jpg"
78
+ }
79
+ }
80
+ }
81
+ }
82
+ },
83
+ {
84
+ "type": "sized_box",
85
+ "args": {
86
+ "height": 16.0
87
+ }
88
+ },
89
+ {
90
+ "type": "text",
91
+ "args": {
92
+ "text": "Jane Doe",
93
+ "style": {
94
+ "color": "#fff",
95
+ "fontSize": 18
96
+ }
97
+ }
98
+ },
99
+ {
100
+ "type": "sized_box",
101
+ "args": {
102
+ "height": 16.0
103
+ }
104
+ },
105
+ {
106
+ "type": "row",
107
+ "args": {
108
+ "crossAxisAlignment": "end",
109
+ "mainAxisSize": "min"
110
+ },
111
+ "children": [
112
+ {
113
+ "type": "padding",
114
+ "args": {
115
+ "padding": {
116
+ "bottom": 4
117
+ }
118
+ },
119
+ "child": {
120
+ "type": "text",
121
+ "args": {
122
+ "text": "$",
123
+ "style": {
124
+ "color": "#fff"
125
+ }
126
+ }
127
+ }
128
+ },
129
+ {
130
+ "type": "sized_box",
131
+ "args": {
132
+ "width": 4
133
+ }
134
+ },
135
+ {
136
+ "type": "text",
137
+ "args": {
138
+ "text": "28,520",
139
+ "style": {
140
+ "color": "#fff",
141
+ "fontSize": 24
142
+ }
143
+ }
144
+ }
145
+ ]
146
+ },
147
+ {
148
+ "type": "sized_box",
149
+ "args": {
150
+ "height": 24
151
+ }
152
+ },
153
+ {
154
+ "type": "row",
155
+ "args": {
156
+ "crossAxisAlignment": "center",
157
+ "mainAxisAlignment": "center"
158
+ },
159
+ "children": [
160
+ {
161
+ "type": "row",
162
+ "args": {
163
+ "crossAxisAlignment": "center",
164
+ "mainAxisSize": "min"
165
+ },
166
+ "children": [
167
+ {
168
+ "type": "container",
169
+ "args": {
170
+ "alignment": "center",
171
+ "decoration": {
172
+ "border": {
173
+ "color": "#6d78b6",
174
+ "width": 1
175
+ },
176
+ "shape": "circle"
177
+ },
178
+ "padding": 4
179
+ },
180
+ "child": {
181
+ "type": "icon",
182
+ "args": {
183
+ "color": "#fff",
184
+ "icon": {
185
+ "codePoint": "0xe5db",
186
+ "fontFamily": "MaterialIcons"
187
+ }
188
+ }
189
+ }
190
+ },
191
+ {
192
+ "type": "sized_box",
193
+ "args": {
194
+ "width": 16.0
195
+ }
196
+ },
197
+ {
198
+ "type": "column",
199
+ "children": [
200
+ {
201
+ "type": "text",
202
+ "args": {
203
+ "text": "Income",
204
+ "style": {
205
+ "color": "#6d78b6",
206
+ "fontSize": 14
207
+ }
208
+ }
209
+ },
210
+ {
211
+ "type": "text",
212
+ "args": {
213
+ "text": "$ 32,500",
214
+ "style": {
215
+ "color": "#fff",
216
+ "fontSize": 16
217
+ }
218
+ }
219
+ }
220
+ ]
221
+ }
222
+ ]
223
+ },
224
+ {
225
+ "type": "container",
226
+ "args": {
227
+ "alignment": "center",
228
+ "padding": [
229
+ 32,
230
+ 0
231
+ ]
232
+ },
233
+ "child": {
234
+ "type": "container",
235
+ "args": {
236
+ "color": "#6d78b6",
237
+ "height": 40,
238
+ "width": 1
239
+ }
240
+ }
241
+ },
242
+ {
243
+ "type": "row",
244
+ "args": {
245
+ "crossAxisAlignment": "center",
246
+ "mainAxisSize": "min"
247
+ },
248
+ "children": [
249
+ {
250
+ "type": "container",
251
+ "args": {
252
+ "alignment": "center",
253
+ "decoration": {
254
+ "border": {
255
+ "color": "#6d78b6",
256
+ "width": 1
257
+ },
258
+ "shape": "circle"
259
+ },
260
+ "padding": 4
261
+ },
262
+ "child": {
263
+ "type": "icon",
264
+ "args": {
265
+ "color": "#fff",
266
+ "icon": {
267
+ "codePoint": "0xe5d8",
268
+ "fontFamily": "MaterialIcons"
269
+ }
270
+ }
271
+ }
272
+ },
273
+ {
274
+ "type": "sized_box",
275
+ "args": {
276
+ "width": 16.0
277
+ }
278
+ },
279
+ {
280
+ "type": "column",
281
+ "children": [
282
+ {
283
+ "type": "text",
284
+ "args": {
285
+ "text": "Spending",
286
+ "style": {
287
+ "color": "#6d78b6",
288
+ "fontSize": 14
289
+ }
290
+ }
291
+ },
292
+ {
293
+ "type": "text",
294
+ "args": {
295
+ "text": "$ 10,120",
296
+ "style": {
297
+ "color": "#fff",
298
+ "fontSize": 16
299
+ }
300
+ }
301
+ }
302
+ ]
303
+ }
304
+ ]
305
+ }
306
+ ]
307
+ },
308
+ {
309
+ "type": "sized_box",
310
+ "args": {
311
+ "height": 24
312
+ }
313
+ },
314
+ {
315
+ "type": "material",
316
+ "args": {
317
+ "borderRadius": {
318
+ "type": "circular",
319
+ "radius": 8
320
+ },
321
+ "color": "#5871dd"
322
+ },
323
+ "child": {
324
+ "type": "container",
325
+ "args": {
326
+ "padding": [
327
+ 60,
328
+ 30
329
+ ],
330
+ "width": "infinity"
331
+ },
332
+ "child": {
333
+ "type": "column",
334
+ "args": {
335
+ "crossAxisAlignment": "start"
336
+ },
337
+ "children": [
338
+ {
339
+ "type": "material",
340
+ "args": {
341
+ "borderRadius": {
342
+ "type": "circular",
343
+ "radius": 4
344
+ },
345
+ "color": "#dfe2e9",
346
+ "elevation": 1
347
+ },
348
+ "child": {
349
+ "type": "container",
350
+ "args": {
351
+ "height": 30,
352
+ "width": 50
353
+ },
354
+ "child": {
355
+ "type": "set_value",
356
+ "args": {
357
+ "etchColor": "#b6b9c8"
358
+ },
359
+ "child": {
360
+ "type": "stack",
361
+ "children": [
362
+ {
363
+ "type": "positioned",
364
+ "args": {
365
+ "left": 0,
366
+ "top": 10
367
+ },
368
+ "child": {
369
+ "type": "container",
370
+ "args": {
371
+ "color": "${etchColor}",
372
+ "height": 1,
373
+ "width": 20
374
+ }
375
+ }
376
+ },
377
+ {
378
+ "type": "positioned",
379
+ "args": {
380
+ "right": 0,
381
+ "top": 10
382
+ },
383
+ "child": {
384
+ "type": "container",
385
+ "args": {
386
+ "color": "${etchColor}",
387
+ "height": 1,
388
+ "width": 20
389
+ }
390
+ }
391
+ },
392
+ {
393
+ "type": "positioned",
394
+ "args": {
395
+ "bottom": 10,
396
+ "left": 0
397
+ },
398
+ "child": {
399
+ "type": "container",
400
+ "args": {
401
+ "color": "${etchColor}",
402
+ "height": 1,
403
+ "width": 20
404
+ }
405
+ }
406
+ },
407
+ {
408
+ "type": "positioned",
409
+ "args": {
410
+ "bottom": 10,
411
+ "right": 0
412
+ },
413
+ "child": {
414
+ "type": "container",
415
+ "args": {
416
+ "color": "${etchColor}",
417
+ "height": 1,
418
+ "width": 20
419
+ }
420
+ }
421
+ },
422
+ {
423
+ "type": "positioned",
424
+ "args": {
425
+ "right": 20,
426
+ "top": 10
427
+ },
428
+ "child": {
429
+ "type": "container",
430
+ "args": {
431
+ "color": "${etchColor}",
432
+ "height": 10,
433
+ "width": 1
434
+ }
435
+ }
436
+ },
437
+ {
438
+ "type": "positioned",
439
+ "args": {
440
+ "left": 20,
441
+ "top": 10
442
+ },
443
+ "child": {
444
+ "type": "container",
445
+ "args": {
446
+ "color": "${etchColor}",
447
+ "height": 10,
448
+ "width": 1
449
+ }
450
+ }
451
+ },
452
+ {
453
+ "type": "positioned",
454
+ "args": {
455
+ "left": 20,
456
+ "top": 5
457
+ },
458
+ "child": {
459
+ "type": "container",
460
+ "args": {
461
+ "decoration": {
462
+ "border": {
463
+ "color": "${etchColor}",
464
+ "style": "solid",
465
+ "width": 1
466
+ },
467
+ "borderRadius": {
468
+ "type": "all",
469
+ "radius": 5
470
+ }
471
+ },
472
+ "height": 20,
473
+ "width": 10
474
+ }
475
+ }
476
+ },
477
+ {
478
+ "type": "positioned",
479
+ "args": {
480
+ "right": 10,
481
+ "top": 0
482
+ },
483
+ "child": {
484
+ "type": "container",
485
+ "args": {
486
+ "color": "${etchColor}",
487
+ "height": 10,
488
+ "width": 1
489
+ }
490
+ }
491
+ }
492
+ ]
493
+ }
494
+ }
495
+ }
496
+ },
497
+ {
498
+ "type": "sized_box",
499
+ "args": {
500
+ "height": 20
501
+ }
502
+ },
503
+ {
504
+ "type": "row",
505
+ "args": {
506
+ "mainAxisAlignment": "spaceBetween"
507
+ },
508
+ "children": [
509
+ {
510
+ "type": "text",
511
+ "args": {
512
+ "text": "2802",
513
+ "style": {
514
+ "color": "#e6e9f4"
515
+ }
516
+ }
517
+ },
518
+ {
519
+ "type": "text",
520
+ "args": {
521
+ "text": "8492",
522
+ "style": {
523
+ "color": "#e6e9f4"
524
+ }
525
+ }
526
+ },
527
+ {
528
+ "type": "text",
529
+ "args": {
530
+ "text": "8201",
531
+ "style": {
532
+ "color": "#e6e9f4"
533
+ }
534
+ }
535
+ },
536
+ {
537
+ "type": "text",
538
+ "args": {
539
+ "text": "2748",
540
+ "style": {
541
+ "color": "#e6e9f4"
542
+ }
543
+ }
544
+ }
545
+ ]
546
+ },
547
+ {
548
+ "type": "sized_box",
549
+ "args": {
550
+ "height": 20
551
+ }
552
+ },
553
+ {
554
+ "type": "row",
555
+ "children": [
556
+ {
557
+ "type": "column",
558
+ "args": {
559
+ "crossAxisAlignment": "start",
560
+ "mainAxisSize": "min"
561
+ },
562
+ "children": [
563
+ {
564
+ "type": "text",
565
+ "args": {
566
+ "text": "EXP 02/21",
567
+ "style": {
568
+ "color": "#9dabe8",
569
+ "fontSize": 10
570
+ }
571
+ }
572
+ },
573
+ {
574
+ "type": "text",
575
+ "args": {
576
+ "text": "JANE DOE",
577
+ "style": {
578
+ "color": "#9dabe8",
579
+ "fontSize": 12,
580
+ "fontWeight": "bold"
581
+ }
582
+ }
583
+ }
584
+ ]
585
+ },
586
+ {
587
+ "type": "expanded",
588
+ "child": {
589
+ "type": "sized_box"
590
+ }
591
+ },
592
+ {
593
+ "type": "svg",
594
+ "args": {
595
+ "asset": "assets/images/visa.svg",
596
+ "color": "#fff",
597
+ "height": 40,
598
+ "width": 56
599
+ }
600
+ }
601
+ ]
602
+ }
603
+ ]
604
+ }
605
+ }
606
+ },
607
+ {
608
+ "type": "sized_box",
609
+ "args": {
610
+ "height": 24
611
+ }
612
+ },
613
+ {
614
+ "type": "material",
615
+ "args": {
616
+ "borderRadius": {
617
+ "type": "circular",
618
+ "radius": 8
619
+ },
620
+ "color": "#5871dd"
621
+ },
622
+ "child": {
623
+ "type": "container",
624
+ "args": {
625
+ "padding": [
626
+ 60,
627
+ 30
628
+ ],
629
+ "width": "infinity"
630
+ },
631
+ "child": {
632
+ "type": "column",
633
+ "args": {
634
+ "crossAxisAlignment": "start"
635
+ },
636
+ "children": [
637
+ {
638
+ "type": "material",
639
+ "args": {
640
+ "borderRadius": {
641
+ "type": "circular",
642
+ "radius": 4
643
+ },
644
+ "color": "#dfe2e9",
645
+ "elevation": 1
646
+ },
647
+ "child": {
648
+ "type": "container",
649
+ "args": {
650
+ "height": 30,
651
+ "width": 50
652
+ },
653
+ "child": {
654
+ "type": "set_value",
655
+ "args": {
656
+ "etchColor": "#b6b9c8"
657
+ },
658
+ "child": {
659
+ "type": "stack",
660
+ "children": [
661
+ {
662
+ "type": "positioned",
663
+ "args": {
664
+ "left": 0,
665
+ "top": 10
666
+ },
667
+ "child": {
668
+ "type": "container",
669
+ "args": {
670
+ "color": "${etchColor}",
671
+ "height": 1,
672
+ "width": 20
673
+ }
674
+ }
675
+ },
676
+ {
677
+ "type": "positioned",
678
+ "args": {
679
+ "right": 0,
680
+ "top": 10
681
+ },
682
+ "child": {
683
+ "type": "container",
684
+ "args": {
685
+ "color": "${etchColor}",
686
+ "height": 1,
687
+ "width": 20
688
+ }
689
+ }
690
+ },
691
+ {
692
+ "type": "positioned",
693
+ "args": {
694
+ "bottom": 10,
695
+ "left": 0
696
+ },
697
+ "child": {
698
+ "type": "container",
699
+ "args": {
700
+ "color": "${etchColor}",
701
+ "height": 1,
702
+ "width": 20
703
+ }
704
+ }
705
+ },
706
+ {
707
+ "type": "positioned",
708
+ "args": {
709
+ "bottom": 10,
710
+ "right": 0
711
+ },
712
+ "child": {
713
+ "type": "container",
714
+ "args": {
715
+ "color": "${etchColor}",
716
+ "height": 1,
717
+ "width": 20
718
+ }
719
+ }
720
+ },
721
+ {
722
+ "type": "positioned",
723
+ "args": {
724
+ "right": 20,
725
+ "top": 10
726
+ },
727
+ "child": {
728
+ "type": "container",
729
+ "args": {
730
+ "color": "${etchColor}",
731
+ "height": 10,
732
+ "width": 1
733
+ }
734
+ }
735
+ },
736
+ {
737
+ "type": "positioned",
738
+ "args": {
739
+ "left": 20,
740
+ "top": 10
741
+ },
742
+ "child": {
743
+ "type": "container",
744
+ "args": {
745
+ "color": "${etchColor}",
746
+ "height": 10,
747
+ "width": 1
748
+ }
749
+ }
750
+ },
751
+ {
752
+ "type": "positioned",
753
+ "args": {
754
+ "left": 20,
755
+ "top": 5
756
+ },
757
+ "child": {
758
+ "type": "container",
759
+ "args": {
760
+ "decoration": {
761
+ "border": {
762
+ "color": "${etchColor}",
763
+ "style": "solid",
764
+ "width": 1
765
+ },
766
+ "borderRadius": {
767
+ "type": "all",
768
+ "radius": 5
769
+ }
770
+ },
771
+ "height": 20,
772
+ "width": 10
773
+ }
774
+ }
775
+ },
776
+ {
777
+ "type": "positioned",
778
+ "args": {
779
+ "right": 10,
780
+ "top": 0
781
+ },
782
+ "child": {
783
+ "type": "container",
784
+ "args": {
785
+ "color": "${etchColor}",
786
+ "height": 10,
787
+ "width": 1
788
+ }
789
+ }
790
+ }
791
+ ]
792
+ }
793
+ }
794
+ }
795
+ },
796
+ {
797
+ "type": "sized_box",
798
+ "args": {
799
+ "height": 20
800
+ }
801
+ },
802
+ {
803
+ "type": "row",
804
+ "args": {
805
+ "mainAxisAlignment": "spaceBetween"
806
+ },
807
+ "children": [
808
+ {
809
+ "type": "text",
810
+ "args": {
811
+ "text": "9023",
812
+ "style": {
813
+ "color": "#e6e9f4"
814
+ }
815
+ }
816
+ },
817
+ {
818
+ "type": "text",
819
+ "args": {
820
+ "text": "2378",
821
+ "style": {
822
+ "color": "#e6e9f4"
823
+ }
824
+ }
825
+ },
826
+ {
827
+ "type": "text",
828
+ "args": {
829
+ "text": "1512",
830
+ "style": {
831
+ "color": "#e6e9f4"
832
+ }
833
+ }
834
+ },
835
+ {
836
+ "type": "text",
837
+ "args": {
838
+ "text": "1998",
839
+ "style": {
840
+ "color": "#e6e9f4"
841
+ }
842
+ }
843
+ }
844
+ ]
845
+ },
846
+ {
847
+ "type": "sized_box",
848
+ "args": {
849
+ "height": 20
850
+ }
851
+ },
852
+ {
853
+ "type": "row",
854
+ "children": [
855
+ {
856
+ "type": "column",
857
+ "args": {
858
+ "crossAxisAlignment": "start",
859
+ "mainAxisSize": "min"
860
+ },
861
+ "children": [
862
+ {
863
+ "type": "text",
864
+ "args": {
865
+ "text": "EXP 10/23",
866
+ "style": {
867
+ "color": "#9dabe8",
868
+ "fontSize": 10
869
+ }
870
+ }
871
+ },
872
+ {
873
+ "type": "text",
874
+ "args": {
875
+ "text": "JANE DOE",
876
+ "style": {
877
+ "color": "#9dabe8",
878
+ "fontSize": 12,
879
+ "fontWeight": "bold"
880
+ }
881
+ }
882
+ }
883
+ ]
884
+ },
885
+ {
886
+ "type": "expanded",
887
+ "child": {
888
+ "type": "sized_box"
889
+ }
890
+ },
891
+ {
892
+ "type": "svg",
893
+ "args": {
894
+ "asset": "assets/images/visa.svg",
895
+ "color": "#fff",
896
+ "height": 40,
897
+ "width": 56
898
+ }
899
+ }
900
+ ]
901
+ }
902
+ ]
903
+ }
904
+ }
905
+ }
906
+ ]
907
+ }
908
+ }
909
+ }
910
+ }
911
+ }
912
+ }
913
+ }