some formatting of map, parameters and spaces (#29760)

This commit is contained in:
Alexandre Ardhuin
2019-03-23 00:02:21 +01:00
committed by GitHub
parent ecfdd7e1ea
commit bfa1d25bf9
95 changed files with 351 additions and 243 deletions

View File

@@ -16,7 +16,8 @@ class _InputDropdown extends StatelessWidget {
this.labelText,
this.valueText,
this.valueStyle,
this.onPressed }) : super(key: key);
this.onPressed,
}) : super(key: key);
final String labelText;
final String valueText;

View File

@@ -71,7 +71,8 @@ Animation<T> _getEmphasizedEasingAnimation<T>({
@required T peak,
@required T end,
@required bool isForward,
@required Animation<double> parent}) {
@required Animation<double> parent,
}) {
Curve firstCurve;
Curve secondCurve;
double firstWeight;

View File

@@ -50,8 +50,11 @@ class VideoCard extends StatelessWidget {
@override
Widget build(BuildContext context) {
Widget fullScreenRoutePageBuilder(BuildContext context,
Animation<double> animation, Animation<double> secondaryAnimation) {
Widget fullScreenRoutePageBuilder(
BuildContext context,
Animation<double> animation,
Animation<double> secondaryAnimation,
) {
return _buildFullScreenVideo();
}

View File

@@ -24,7 +24,8 @@ final Animatable<BorderRadius> _kFrontHeadingBevelRadius = BorderRadiusTween(
);
class _TappableWhileStatusIs extends StatefulWidget {
const _TappableWhileStatusIs(this.status, {
const _TappableWhileStatusIs(
this.status, {
Key key,
this.controller,
this.child,