@@ -29,7 +29,7 @@ import Dart.FFI.Elab
29
29
],
30
30
class ' "EdgeInsets" [
31
31
extends " EdgeInsetsGeometry" ,
32
- new " all" [
32
+ const $ new " all" [
33
33
" value" :: " double"
34
34
]
35
35
],
@@ -49,7 +49,7 @@ import Dart.FFI.Elab
49
49
]
50
50
],
51
51
class ' "ButtonStyle" [
52
- new " " [
52
+ const $ new " " [
53
53
" backgroundColor" :? " MaterialStateProperty" :<> " Color" ,
54
54
" foregroundColor" :? " MaterialStateProperty" :<> " Color" ,
55
55
" textStyle" :? " MaterialStateProperty" :<> " TextStyle" ,
@@ -59,7 +59,7 @@ import Dart.FFI.Elab
59
59
],
60
60
class ' "Card" [
61
61
extends " Widget" ,
62
- new " " [
62
+ const $ new " " [
63
63
" key" :? " Key" ,
64
64
" color" :? " Color" ,
65
65
" shadowColor" :? " Color" ,
@@ -74,7 +74,7 @@ import Dart.FFI.Elab
74
74
],
75
75
class ' "CircularProgressIndicator" [
76
76
extends " Widget" ,
77
- new " " [
77
+ const $ new " " [
78
78
" key" :? " Key"
79
79
]
80
80
],
@@ -93,7 +93,7 @@ import Dart.FFI.Elab
93
93
],
94
94
class ' "FloatingActionButton" [
95
95
extends " Widget" ,
96
- new " " [
96
+ const $ new " " [
97
97
" onPressed" :? " IO" :<> " ()" ,
98
98
" tooltip" :? " String" ,
99
99
" child" :? " Widget"
@@ -115,22 +115,22 @@ import Dart.FFI.Elab
115
115
],
116
116
class ' "IconButton" [
117
117
extends " Widget" ,
118
- new " " [
118
+ const $ new " " [
119
119
" onPressed" :? " IO" :<> " ()" ,
120
120
" tooltip" :? " String" ,
121
121
" icon" :? " Widget" ,
122
122
" alignment" :? " AlignmentGeometry"
123
123
]
124
124
],
125
125
class ' "InputDecoration" [
126
- new " " [
126
+ const $ new " " [
127
127
" labelText" :? " String" ,
128
128
" hintText" :? " String"
129
129
]
130
130
],
131
131
class ' "LinearProgressIndicator" [
132
132
extends " Widget" ,
133
- new " " [
133
+ const $ new " " [
134
134
" key" :? " Key" ,
135
135
" value" :? " double" ,
136
136
" backgroundColor" :? " Color" ,
@@ -142,7 +142,7 @@ import Dart.FFI.Elab
142
142
],
143
143
class ' "MaterialApp" [
144
144
extends " Widget" ,
145
- new " " [
145
+ const $ new " " [
146
146
" title" :? " String" ,
147
147
" home" :? " Widget" ,
148
148
" theme" :? " ThemeData" ,
@@ -184,7 +184,7 @@ import Dart.FFI.Elab
184
184
],
185
185
class ' "Scaffold" [
186
186
extends " Widget" ,
187
- new " " [
187
+ const $ new " " [
188
188
" appBar" :? " Widget" ,
189
189
" body" :? " Widget" ,
190
190
" floatingActionButton" :? " Widget" ,
@@ -193,7 +193,7 @@ import Dart.FFI.Elab
193
193
],
194
194
class ' "Slider" [
195
195
extends " Widget" ,
196
- new " " [
196
+ const $ new " " [
197
197
" value" :? " Double" ,
198
198
" onChanged" :? " Double" :-> " IO" :<> " ()" ,
199
199
" onChangeStart" :? " Double" :-> " IO" :<> " ()" ,
@@ -206,7 +206,7 @@ import Dart.FFI.Elab
206
206
],
207
207
class ' "TextButton" [
208
208
extends " Widget" ,
209
- new " " [
209
+ const $ new " " [
210
210
" onPressed" :? " IO" :<> " ()" ,
211
211
" style" :? " ButtonStyle" ,
212
212
" child" :? " Widget"
@@ -250,7 +250,7 @@ import Dart.FFI.Elab
250
250
],
251
251
package " package:flutter/widgets.dart" [
252
252
class ' "Align" [
253
- new " " [
253
+ const $ new " " [
254
254
" key" :? " Key" ,
255
255
" alignment" :? " AlignmentGeometry" ,
256
256
" widthFactor" :? " double" ,
@@ -267,7 +267,7 @@ import Dart.FFI.Elab
267
267
],
268
268
class ' "Center" [
269
269
extends " Widget" ,
270
- new " " [
270
+ const $ new " " [
271
271
" child" :? " Widget"
272
272
]
273
273
],
@@ -281,7 +281,7 @@ import Dart.FFI.Elab
281
281
],
282
282
class ' "CustomPaint" [
283
283
extends " Widget" ,
284
- new " " [
284
+ const $ new " " [
285
285
" key" :? " Key" ,
286
286
" child" :? " Widget" ,
287
287
" painter" :? " CustomPainter" ,
@@ -295,13 +295,13 @@ import Dart.FFI.Elab
295
295
],
296
296
class ' "Expanded" [
297
297
extends " Widget" ,
298
- new " " [
298
+ const $ new " " [
299
299
" child" :? " Widget"
300
300
]
301
301
],
302
302
class ' "FittedBox" [
303
303
extends " Widget" ,
304
- new " " [
304
+ const $ new " " [
305
305
" key" :? " Key" ,
306
306
" child" :? " Widget" ,
307
307
" fit" :? " BoxFit" ,
@@ -311,7 +311,7 @@ import Dart.FFI.Elab
311
311
],
312
312
class ' "Form" [
313
313
extends " Widget" ,
314
- new " " [
314
+ const $ new " " [
315
315
" child" :? " Widget" ,
316
316
" onChanged" :? " IO" :<> " ()" ,
317
317
" autovalidateMode" :? " AutovalidateMode"
@@ -342,7 +342,7 @@ import Dart.FFI.Elab
342
342
],
343
343
class ' "Icon" [
344
344
extends " Widget" ,
345
- new " " [
345
+ const $ new " " [
346
346
" icon" :: " IconData" ,
347
347
" key" :? " Key"
348
348
]
@@ -361,15 +361,15 @@ import Dart.FFI.Elab
361
361
],
362
362
class ' "Padding" [
363
363
extends " Widget" ,
364
- new " " [
364
+ const $ new " " [
365
365
" key" :? " Key" ,
366
366
" padding" :? " EdgeInsetsGeometry" ,
367
367
" child" :? " Widget"
368
368
]
369
369
],
370
370
class ' "SizedBox" [
371
371
extends " Widget" ,
372
- new " " [
372
+ const $ new " " [
373
373
" key" :? " Key" ,
374
374
" width" :? " double" ,
375
375
" height" :? " double" ,
@@ -378,7 +378,7 @@ import Dart.FFI.Elab
378
378
],
379
379
class ' "Text" [
380
380
extends " Widget" ,
381
- new " " [
381
+ const $ new " " [
382
382
" text" :: " String" ,
383
383
" textScaleFactor" :? " Double" ,
384
384
" style" :? " TextStyle" ,
@@ -414,7 +414,7 @@ import Dart.FFI.Elab
414
414
class ' "Color" [
415
415
],
416
416
class ' "Offset" [
417
- new " " [" dx" :: " Double" , " dy" :: " Double" ],
417
+ const $ new " " [" dx" :: " Double" , " dy" :: " Double" ],
418
418
final " Double" " dx" ,
419
419
final " Double" " dy"
420
420
],
0 commit comments