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:
Alexandre Ardhuin
2019-03-01 08:17:55 +01:00
committed by GitHub
parent 046f960ae2
commit 387f885481
626 changed files with 5183 additions and 5183 deletions

View File

@@ -214,7 +214,7 @@ void main() {
class WidgetControllerSpy extends WidgetController {
WidgetControllerSpy(
TestWidgetsFlutterBinding binding
TestWidgetsFlutterBinding binding,
) : super(binding) {
_binding = binding;
}
@@ -250,7 +250,7 @@ class WidgetControllerSpy extends WidgetController {
pointer: pointer ?? _getNextPointer(),
kind: kind,
dispatcher: sendEventToBinding,
hitTester: hitTestOnBinding
hitTester: hitTestOnBinding,
);
}
}
@@ -260,7 +260,7 @@ class TestGestureSpy extends TestGesture {
int pointer,
PointerDeviceKind kind,
EventDispatcher dispatcher,
HitTester hitTester
HitTester hitTester,
}) : super(
pointer: pointer,
kind: kind,