Remove 1745 decorative breaks (#123259)

Remove 1745 decorative breaks
This commit is contained in:
Michael Goderbauer
2023-03-22 14:12:22 -07:00
committed by GitHub
parent 14a15dedbe
commit fda9ecfef7
291 changed files with 2 additions and 1749 deletions

View File

@@ -87,7 +87,6 @@ class _MyStatefulWidgetState extends State<MyStatefulWidget> {
child: Text('Select a lot'),
),
];
break;
case ConnectionState.waiting:
children = const <Widget>[
SizedBox(
@@ -100,7 +99,6 @@ class _MyStatefulWidgetState extends State<MyStatefulWidget> {
child: Text('Awaiting bids...'),
),
];
break;
case ConnectionState.active:
children = <Widget>[
const Icon(
@@ -113,7 +111,6 @@ class _MyStatefulWidgetState extends State<MyStatefulWidget> {
child: Text('\$${snapshot.data}'),
),
];
break;
case ConnectionState.done:
children = <Widget>[
const Icon(
@@ -126,7 +123,6 @@ class _MyStatefulWidgetState extends State<MyStatefulWidget> {
child: Text('\$${snapshot.data} (closed)'),
),
];
break;
}
}

View File

@@ -49,7 +49,6 @@ class _CascadeLayoutDelegate extends MultiChildLayoutDelegate {
switch (textDirection) {
case TextDirection.rtl:
childPosition += Offset(size.width, 0);
break;
case TextDirection.ltr:
break;
}
@@ -66,11 +65,9 @@ class _CascadeLayoutDelegate extends MultiChildLayoutDelegate {
case TextDirection.rtl:
positionChild(color, childPosition - Offset(currentSize.width, 0));
childPosition += Offset(-currentSize.width, currentSize.height - overlap);
break;
case TextDirection.ltr:
positionChild(color, childPosition);
childPosition += Offset(currentSize.width, currentSize.height - overlap);
break;
}
}
}

View File

@@ -105,7 +105,6 @@ class SignUpPage extends StatelessWidget {
// Assume CollectPersonalInfoPage collects personal info and then
// navigates to 'signup/choose_credentials'.
builder = (BuildContext context) => const CollectPersonalInfoPage();
break;
case 'signup/choose_credentials':
// Assume ChooseCredentialsPage collects new credentials and then
// invokes 'onSignupComplete()'.
@@ -119,7 +118,6 @@ class SignUpPage extends StatelessWidget {
Navigator.of(context).pop();
},
);
break;
default:
throw Exception('Invalid route: ${settings.name}');
}