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
@@ -47,7 +47,7 @@ class HomePage extends StatelessWidget {
|
||||
onPressed: (){
|
||||
Navigator.pushNamed(context, kCubicBezierRouteName);
|
||||
},
|
||||
)
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
||||
@@ -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),
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
@@ -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),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user