Skip to content

Commit

Permalink
Add missing trailing commas (flutter#28673)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
a14n committed Mar 1, 2019
1 parent 046f960 commit 387f885
Show file tree
Hide file tree
Showing 626 changed files with 5,183 additions and 5,183 deletions.
200 changes: 100 additions & 100 deletions dev/benchmarks/complex_layout/lib/main.dart

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dev/benchmarks/macrobenchmarks/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class HomePage extends StatelessWidget {
onPressed: (){
Navigator.pushNamed(context, kCubicBezierRouteName);
},
)
),
],
),
);
Expand Down
2 changes: 1 addition & 1 deletion dev/benchmarks/macrobenchmarks/lib/src/cubic_bezier.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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),
];
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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),
);
}
Loading

0 comments on commit 387f885

Please sign in to comment.