Remove print and fix code formatting (#43843)

This commit is contained in:
Michael Goderbauer 2019-10-30 17:15:52 -07:00 committed by GitHub
parent b8857c8795
commit 99fd65e79a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -553,8 +553,9 @@ class _MaterialAppState extends State<MaterialApp> {
key: GlobalObjectKey(this),
navigatorKey: widget.navigatorKey,
navigatorObservers: _navigatorObservers,
pageRouteBuilder: <T>(RouteSettings settings, WidgetBuilder builder) =>
MaterialPageRoute<T>(settings: settings, builder: builder),
pageRouteBuilder: <T>(RouteSettings settings, WidgetBuilder builder) {
return MaterialPageRoute<T>(settings: settings, builder: builder);
},
home: widget.home,
routes: widget.routes,
initialRoute: widget.initialRoute,

View File

@ -432,7 +432,6 @@ void _defineTests() {
),
));
List<SemanticsFlag> flags = SemanticsFlag.values.values.toList();
print('flags: $flags');
// [SemanticsFlag.hasImplicitScrolling] isn't part of [SemanticsProperties]
// therefore it has to be removed.
flags.remove(SemanticsFlag.hasImplicitScrolling);