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

@@ -47,7 +47,7 @@ class HomePage extends StatelessWidget {
onPressed: (){
Navigator.pushNamed(context, kCubicBezierRouteName);
},
)
),
],
),
);

View File

@@ -263,7 +263,7 @@ class AnimatedBezierState extends State<AnimatedBezier>
PathDetail(bezier2Path, translate: <double>[29.45, 151.0], rotation: -1.5708),
PathDetail(bezier3Path,
translate: <double>[53.0, 200.48], rotation: -3.14159),
PathDetail(bezier4Path, translate: <double>[122.48, 77.0], rotation: -4.71239)
PathDetail(bezier4Path, translate: <double>[122.48, 77.0], rotation: -4.71239),
];
}

View File

@@ -11,6 +11,6 @@ void main() {
'cull_opacity_perf',
kCullOpacityRouteName,
pageDelay: const Duration(seconds: 1),
duration: const Duration(seconds: 10)
duration: const Duration(seconds: 10),
);
}