1
0
mirror of https://github.com/flutter/samples.git synced 2026-07-15 13:32:35 +00:00

General cleanup: consistent quoting, sort dependencies, (#859)

single quotes everywhere
fix comment references
This commit is contained in:
Kevin Moore
2021-08-02 10:57:30 -07:00
committed by GitHub
parent 89093cac71
commit b0745a00d4
10 changed files with 29 additions and 33 deletions

View File

@@ -9,6 +9,7 @@ import '../screens/settings.dart';
import '../widgets/fade_transition_page.dart';
import 'authors.dart';
import 'books.dart';
import 'scaffold.dart';
/// Displays the contents of the body of [BookstoreScaffold]
class BookstoreScaffoldBody extends StatelessWidget {
@@ -45,12 +46,12 @@ class BookstoreScaffoldBody extends StatelessWidget {
child: BooksScreen(currentRoute: currentRoute),
)
// Avoid building a Navigator with an empty `pages` list when the
// RouteState is set to an unexpected path, such as /signin.
//
// Since RouteStateScope is an InheritedNotifier, any change to the
// route will result in a call to this build method, even though this
// widget isn't built when those routes are active.
// Avoid building a Navigator with an empty `pages` list when the
// RouteState is set to an unexpected path, such as /signin.
//
// Since RouteStateScope is an InheritedNotifier, any change to the
// route will result in a call to this build method, even though this
// widget isn't built when those routes are active.
else
FadeTransitionPage<void>(
key: const ValueKey('empty'),