Add missing trailing commas (#28673)
* add trailing commas on list/map/parameters * add trailing commas on Invocation with nb of arg>1 * add commas for widget containing widgets * add trailing commas if instantiation contains trailing comma * revert bad change
This commit is contained in:
committed by
GitHub
parent
046f960ae2
commit
387f885481
@@ -31,7 +31,7 @@ class _TestAppState extends State<TestApp> {
|
||||
0.0,
|
||||
'hello',
|
||||
<dynamic>[
|
||||
<String, dynamic>{'key': 42}
|
||||
<String, dynamic>{'key': 42},
|
||||
],
|
||||
];
|
||||
static final Map<String, dynamic> aMap = <String, dynamic>{
|
||||
@@ -40,7 +40,7 @@ class _TestAppState extends State<TestApp> {
|
||||
'c': 0.0,
|
||||
'd': 'hello',
|
||||
'e': <dynamic>[
|
||||
<String, dynamic>{'key': 42}
|
||||
<String, dynamic>{'key': 42},
|
||||
],
|
||||
};
|
||||
static final Uint8List someUint8s = Uint8List.fromList(<int>[
|
||||
|
||||
Reference in New Issue
Block a user