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
@@ -19,8 +19,8 @@ void main() {
|
||||
child: SizedBox(
|
||||
width: 450.0,
|
||||
height: 800.0,
|
||||
child: GalleryApp(testMode: true)
|
||||
)
|
||||
child: GalleryApp(testMode: true),
|
||||
),
|
||||
)
|
||||
);
|
||||
await tester.pump(); // see https://github.com/flutter/flutter/issues/1865
|
||||
|
||||
@@ -20,7 +20,7 @@ void main() {
|
||||
await tester.pumpWidget(
|
||||
const GalleryApp(
|
||||
testMode: true,
|
||||
updateUrlFetcher: mockUpdateUrlFetcher
|
||||
updateUrlFetcher: mockUpdateUrlFetcher,
|
||||
)
|
||||
);
|
||||
await tester.pump(); // see https://github.com/flutter/flutter/issues/1865
|
||||
|
||||
Reference in New Issue
Block a user