Fix wording of app bar vs toolbar in gallery (#7720)

Reverts a change from https://github.com/flutter/flutter/pull/3158.
Fixes https://github.com/flutter/flutter/issues/3161
This commit is contained in:
Ian Hickson
2017-01-28 14:24:19 -08:00
committed by GitHub
parent 571834ea3c
commit 62c1b0b217

View File

@@ -127,11 +127,11 @@ class ContactsDemoState extends State<ContactsDemo> {
itemBuilder: (BuildContext context) => <PopupMenuItem<AppBarBehavior>>[
new PopupMenuItem<AppBarBehavior>(
value: AppBarBehavior.scroll,
child: new Text('Toolbar scrolls away')
child: new Text('App bar scrolls away')
),
new PopupMenuItem<AppBarBehavior>(
value: AppBarBehavior.under,
child: new Text('Toolbar stays put')
child: new Text('App bar stays put')
)
]
)